Thursday, 25 January 2018

networking - How to connect to my web server?


I have implemented a simple web server as a solution to a course assignment and I want to connect to this web server over the internet. I've set it up to listen on port 22881 and configured my router accordingly as the screenshot below shows


enter image description here


I'm able to connect to my web server locally using http://localhost:22881 and I can connect to the router's interface when I visit http://my.external.ip, but I can't connect to my web server using http://my.external.ip:22881 (I get a connection timeout). Any idea of what may be the problem?


Thanks in advance!



Answer



Your router either doesn't support NAT Hairpinning (also known as NAT Loopback), or it's not enabled. Try connecting from outside your home network (like from a smartphone with Wi-Fi disabled). You'll probably find that it works.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...