Technical Question VNC remote desktop

I have an android phone that has VNC connection viewer and my computer has a VNC server on it. At home i can connect to my computer using my phone via home ip address, but when im out and about and try to connect to the outside ip address (my computer's ip address when im outside my LAN) the VNC viewer just gets stuck on "please wait connecting". I have forwarded ports 5800 - 5900 from my modem to my router and from my router to my PC and i have a 3mb dsl connection. Advice???

P.S. yes my computer is on and the vnc server is on when im out.

18,810 views 2 replies
Reply #1 Top

Sounds like a firewall or NAT issue. Assuming you're using the correct public ip address (your outside, or external one given by the ISP) theres likely a problem with the ip:port combo in that either the firewall is blocking it or the router is not sure where to forward it

Have you tried disabling windows firewall or making sure the proper exception has been made for VNC?

Are you sure the port the VNC program on your phone is the correct one forwarded? Almost any time i've ever forwarded a range of ports there has always been an issue for something. Just never seems to work for me. Specific ports always seem to work though.

Also the type of forwarding may be an issue as well. If the forwarding only forwards TCP and not UDP, or vice versa depending on what the program uses, that can cause a networking issue. (same thing with windows firewall)

 

Hope this helps if you haven't already resolved your issue. If not and you still need help... I have an android phone and would be behind my own set of routers and firewalls, so I could probably figure out what needs to be forwarded. But i'm lazy and its been two days since you posted this so lemmy know :p

Reply #2 Top

One thing you need to check is your home computers IP address. Is it 192.168.something.something? This is the IP address most home users will see, and is a private IP address. Meaning: in your own network, it is ok to use, as at that level (Data Link) MAC addresses are what everything is using.