I’m trying to host a few docker services from my house, but my IP appears to be blocking port 80, so the only way to get a domain working that I’ve found is domainname.com:portnumber (I have port forwarding set up in my router, and can reach a wide range of ports, but not 80).
It looks like cloudflare will point sites to my IP but not ports, and because I can’t reach port 80, I can’t figure a way to route things through NGINX proxy manager on the same box.
Is there a free external service I can use as a reverse proxy to point requests to specific ports on my self-hosted box? Or else, is there another way to make my sites useable without the enduser having to specify ports?
First thing I would ask the ISP to open the port. I’ve done that without problems before.
If that’s for some reason not a solution, I would, because I’m personally not very attracted to the idea of routing my selfhosting traffic though thirdparties, setup a simple static page with
<meta http-equiv="refresh" content="0;url=https://web.domain.tld:8080/" />
, somewhere and point the bare domain and www subdomain to that page and have it redirect to, like in this example, aweb
subdomain with the port number.As a last remark, I personally would not find it problematic for a different port number to be part of the host scheme and also note that most web traffic now goes to 443 and not 80 because it’s https.
Happy selfhosting!