Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Unable to connect to WAN IP

Post Reply
VNC new user

Unable to connect to WAN IP

Post by VNC new user »

Hi,

I am testing the VNC via a loopback.

My machine IP is, for example 2.2.2.2 and my WAN IP is for example 333.333.333.333

Now I can connect via the LAN IP of 2.2.2.2 but I cannot connect via the WAN IP of 333.333.333.333

I get the error message "Failed to connect to server!"

My box is running XP and using a router.

I am new to using VNC and cannot find an solution to this problem.

Your help is appreciated and thanks in advance.
lenisham
40
40
Posts: 104
Joined: 2004-06-24 07:00

Re: Unable to connect to WAN IP

Post by lenisham »

VNC new user wrote:Hi,

I am testing the VNC via a loopback.

My machine IP is, for example 2.2.2.2 and my WAN IP is for example 333.333.333.333

Now I can connect via the LAN IP of 2.2.2.2 but I cannot connect via the WAN IP of 333.333.333.333

I get the error message "Failed to connect to server!"

My box is running XP and using a router.

I am new to using VNC and cannot find an solution to this problem.

Your help is appreciated and thanks in advance.
Loopback is designed to allow you to secure the VNC session by tunneling it over an encrypted link such as ssh, stunnel or zebedee. It is not meant to connect to yourself for testing (it creatres an infinite loop like standing between 2 mirrors, but the mirrors don't require CPU time).

If you are looking to do this the simplest one to setup is stunnel imho.
NightRyder
80
80
Posts: 157
Joined: 2004-08-15 08:33
Location: WA, USA

Post by NightRyder »

I think your wan ip is the outside internet ip, and therefore you need to forward w/e port you use to the computer your connecting to.
using latest code.... always... except when im not.
VNC new user

Post by VNC new user »

NightRyder wrote:I think your wan ip is the outside internet ip, and therefore you need to forward w/e port you use to the computer your connecting to.
"w/e" ?

My WAN IP is my internet IP as assigned by my ISP, eg 333.333.333.333

I have configured my router to forward 5900 and 5800 ports to "computer A" on my LAN where I want to use the VNC.

I can use VNC within my LAN using my LAN IPs but I cannot connect to my LAN IP via my WAN IP.

Maybe it is a router configuration issue, but the ports are forwarded.

Many someone knows of a solution.

Thanks in advance.
NightRyder
80
80
Posts: 157
Joined: 2004-08-15 08:33
Location: WA, USA

Post by NightRyder »

ah. 'w/e' as in whatever, for whatever port you arer using; if not the standard ones, as you seem to be.
The only other thing i would say is; check to make sure the forwarding is working somehow. Maybe put yourself into the dmz (if you have that) just to see if its the router or not.
With the router forwarded and allow loopback, allowed; it should work imo. Even more so, because it works with the internal ip.
It is not meant to connect to yourself for testing (it creatres an infinite loop..
well, that would show its working, right?
using latest code.... always... except when im not.
Post Reply