Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

How to connect to remote PC which is on different network?

Here you will find help for frequently asked questions as well as for your specific question
Post Reply
SolarLightBeam
Posts: 3
Joined: 2023-08-04 15:18

How to connect to remote PC which is on different network?

Post by SolarLightBeam »

Hello,
I am able to connect successfully when both server and viewer are connected to the same network.

But when server and viewer are connected to different networks, I get a message "Failed to connect to server !" in the VncViewer Message Box while connecting.

I tried to use the public IP address instead of the IP address shown while hovering the mouse over the UltraVNC server icon in the system tray. But still I get the same error message.

Do I have to change any settings when server and viewer are connected to different networks?

Thank you.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6839
Joined: 2004-04-23 10:21
Contact:

Re: How to connect to remote PC which is on different network?

Post by Rudi De Vos »

When both server and viewer are on a private network ( behind a router) there is no direct communication possible.
1) When you have access to one router
-Port forwding: You tell your router that he need to forward port 5900 to your PC
The viewer the connect to the ip_router:5900 and the router forward this to the PC

If the router is on the viewer site, you tell the server to connect to the viewer.

2) You need to use a repeater
The repeater need to be on a public accessible server
Server and viewer connect to the repeater, he route the traffic
SolarLightBeam
Posts: 3
Joined: 2023-08-04 15:18

Re: How to connect to remote PC which is on different network?

Post by SolarLightBeam »

Thank you Rudi De Vos for your reply.
VNCHELP890
40
40
Posts: 69
Joined: 2022-01-18 16:46

Re: How to connect to remote PC which is on different network?

Post by VNCHELP890 »

Is it safe to say if you can ping the other computer, you should be able to reach it with VNC?
Post Reply