Page 1 of 1

Unable to connect via WAN

PostPosted: Fri Jul 29, 2011 8:30 pm
by paul
I have been able to connect over LAN, but I really need to be able to connect over WAN.

When I try, i get the error "Host: '****.dyndns-free.com' Port: 5900 Refused the connection. This usually indicates the computer is not running a VNC server in the specified port. If connecting from the internet, this can also be caused by the router port forwarding not being setup properly."

I have done a LOT of reading on the internet about port forwarding and whatnot, but am stymied. I registered with dyndns and use that hostname in the app, and port 5900.

On Windows port 5900 and 5800 are both forwarded to my internal pc's IP. I enabled DCHP and reserved the PC's IP address and MAC address.

Below is my UltraVNC setup and router forwarding screen. Any help would be appreciated.
UVNC.jpg
UVNC.jpg (175.48 KiB) Viewed 5473 times

port forwarding.jpg
port forwarding.jpg (122.67 KiB) Viewed 5473 times

Re: Unable to connect via WAN

PostPosted: Fri Jul 29, 2011 11:42 pm
by paul
Update: uninstalled ultravnc and reinstalled, did not change any router/firewall settings. Now get the following error:

"Host: http://******.dyndns-free.com/'Port: 5900 Unable to connect to server. This usually indicates the computer is not reachable in the current network. Like when trying to access a private server directly while in 3G. Or the server is simply unreachable because it's offline, or its IP address has changed."

Re: Unable to connect via WAN

PostPosted: Sat Jul 30, 2011 3:27 pm
by raf
Hi!,

You're forwarding port 5900 to 192.168.1.254, this is a broadcast IP, only do that for WoL.
Port 5900 needs to be forwarded to the IP of the computer you have UltraVNC on. Also, you don't need to forward port 5800 (that's only used for VNC web).

Hope this helps,

Raf.

Re: Unable to connect via WAN

PostPosted: Sat Jul 30, 2011 11:01 pm
by paul
It's working now! Thanks for your help!

Re: Unable to connect via WAN

PostPosted: Sun Jul 31, 2011 5:27 pm
by raf
paul wrote:It's working now! Thanks for your help!


Great! -Raf.