What's new
PGBlitz.com

Register Now! Find useful tips, Interact /w Community Members and join the part the Best Community on the Internet!

Discussion How to force Traefik to use something besides ports 443 and 80

Oohdang

Junior Member
PG Version
8.7.5
Server Type
Local - Dedicated Server
My port forwarding is working for all of my installed docker containers but when I forward ports 443 and 80 they are not opening per canyouseeme.org. I'm assuming this is because my ISP is blocking traffic on those ports, and this is causing traefik not to deploy correctly. I can connect remotely via direct ip without issue, but I've got a local server I'm sharing with family in another state and I would like to get this working for them to make it easier to connect. Is there a way to edit the traefik config to force it to listen on different ports that I could successfully forward without interference from my ISP? I turned up very little helpful information when googling.

Thanks!
 

justinglock40

Respected Member
Are you sure that you have you DNS pointing to the right IP address? Seems highly unlikely that the ISP would block 80/443.
 

Oohdang

Junior Member
Are you sure that you have you DNS pointing to the right IP address? Seems highly unlikely that the ISP would block 80/443.
Yep, I'm 100% sure. It was working flawlessly when I had cable internet and the second I switched to fiber internet it stopped working. All of my port forwarding on my router is set up correctly and other ports I open show as open except 80 and 443. I was troubleshooting this in the dis cord with someone and we came to the conclusion it's the new isp blocking those ports and they suggested changing the ports traefik uses. Unfortunately that was the day dis cord was taken down.
 

watchmeexplode5

Junior Member
Are you testing canyouseeme via your server or another computer on your network? Because if it's the latter, it would state that the ports are closed to that computer.

If they really are blocking port 80/443 then on your router you can forward external port (eg: 8081) to internal 80. I think that should work (but I haven't tested it).

Another option is to run some form of openvpn so you can connect as if you are on the local network.

Traefik can be set to listen on different ports but it would wreak havoc when pgblitz automatic setups run. It's an option but I'm assuming it would be painful to get working and wouldn't recommend it.
 

justinglock40

Respected Member
Yep, I'm 100% sure. It was working flawlessly when I had cable internet and the second I switched to fiber internet it stopped working. All of my port forwarding on my router is set up correctly and other ports I open show as open except 80 and 443. I was troubleshooting this in the dis cord with someone and we came to the conclusion it's the new isp blocking those ports and they suggested changing the ports traefik uses. Unfortunately that was the day dis cord was taken down.
Tried calling them and asking to unblock those ports for you
 

designgears

Full Member
Staff
on the host machine you can go to /opt/appdata/traefik/traefik.toml and change it in there. Then just reload the traefik container.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.


Top NZB NewsGroups!

Members - Up To a 58% Discount!

Development Donations

 

Online statistics

Members online
12
Guests online
117
Total visitors
129
Top