Help Accessing Webpage From External IP

TheTimeCode

New Member
Hi all! Right now I have setup a page on my computer that I can access through http://localhost:5000/ and I want to be able to access it through my Android phone. I have also done the following port forwarding option on my router:

https://i.gyazo.com/94a274a61e10df094eb58cb29966f14f.png

However I cannot access the page through http://MYIPADDRESS:5000/ on either the phone or the local computer. I'm rather clueless when it comes to this stuff that should be pretty simple. Can anyone help?

Thanks!
 
If your phone is on the LAN, just use the LAN IP.

There should be a 'NAT Hairpin' setting on your router so you can navigate to your external IP. If there isn't you'll have to use the LAN IP when on your network and the WAN IP when you're outside of your house or on LTE or similar.

You also may need to open that port on Windows firewall in order to accept external connections. Depending on the application you're hosting it may be a better idea to set up a VPN mechanism instead and then connect once you've VPN'd home.
 
I would like to access it externally (not LAN, but rather when I'm on the go over the internet). I have allowed inbound and outbound connections in both UDP and TCP on port 5000 in Windows Firewall (because I have no idea which one to allow so I allowed them all) but still no cigar.

EDIT: Also using 192.168.0.10:5000 does not work on the local machine either, says refused to connect.

Also with open port checker it looks like 5000 is closed, even though I have port forwarded it.
 
Last edited:
Do you have another computer you can use on your LAN to do further testing? If not, download a terminal emulator on your Android phone and try pinging your desktop computer. You can try vice versa as well.

Once you do get it working internally, there could be many things blocking it externally, even with port forwarding. First, what ISP do you use? Most wireless carriers, at least in the US, are assigning your LTE modems and phones private addresses and performing NAT on their end, so even if you port forward your own router, it may not be sufficient. I imagine certain WISPS may do this as well.

Double check your router config that the port forwarding was setup correctly, make sure the source is any and the destination is your computer you want to access, and not vice versa.
 
Oops, turned out I didn't configure the program correctly. So I got it working now, I think just port forwarding and opening ports in firewall is enough, just don't wrongly configure the program!
 
Back
Top