|
My site runs locally on port 8080. I have set up port forwarding and also tested this which says it is open and accepting connections. When I try to access my site using the assigned address like http://foo.my-hobbysite.com:8080 I get an unable to connect error. However, if I just use the address http://foo.my-hobbysite.com I am directed to my router configuration page. Any pointers? Edit: Also, my local firewall has been turned off. |
|
Perhaps you have not provided enough info to fully answer this. Here goes a try. You have a web server on a home machine configured to accept inbound connections on port 8080. Let's assume its IP address locally is 192.168.1.123. You have port 8080 forwarded in your router to that machine at the .123 address. You are trying to connect to your website from the external side of the router, over the Internet. My first test would be to use a port scanner to see if 8080 is truly open and accepting connections from the Internet. One such tool is at Steve Gibson's site http://www.grc.com . From there choose Services and then ShieldsUP! And from there test port 8080. If 8080 is truly open and accepting connections then to test where this is failing I would try the following from the 192.168.1.123 machine: From your preferred web browser: -- http://192.168.1.123:8080 The reason port you are getting a router configuration page when you try port 80 is likely that you have configured your router to accept remote mainentance requests on that port. I'd be changing it to something a little more difficult to guess and would be ensuring I have a secure password on it. If you don't plan to use that feature -- TURN IT OFF. Hope this helps. Thanks for that. I tested the port using the site you mentioned and it says the port is open. I also tested it using https://www.dyndns.com/support/tools/openport.html which also says the port is open. Using the local ip address from the browser opens the app but the external_ip:port fails. How do I diagnose the issue?
Mar 06 at 08:50 AM
jean
|
|
If you use just "http://foo.my-hobbysite.com/", your browser uses port 80 for HTTP as default, and this is where your router is listening. (You have to secure this, i.e. see if you can configure the router to not present its webinterface then. This is obviously a security risk. If you can't avoid it, you have to secure the router with a very strong password.) As you already tried, you can use the Open Port Tool to see if your port 8080 can be reached and your application is listening on it. You should try with both, your DynDNS hostname and your WAN IP address, and always with port 8080, of course. Also, it is a good idea to work through this wiki. "Also, my local firewall has been turned off." |