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.
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
How to connect to remote PC which is on different network?
-
- Posts: 3
- Joined: 2023-08-04 15:18
- Rudi De Vos
- Admin & Developer
- Posts: 6867
- Joined: 2004-04-23 10:21
- Contact:
Re: How to connect to remote PC which is on different network?
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
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
-
- Posts: 3
- Joined: 2023-08-04 15:18
Re: How to connect to remote PC which is on different network?
Thank you Rudi De Vos for your reply.
-
- 40
- Posts: 72
- Joined: 2022-01-18 16:46
Re: How to connect to remote PC which is on different network?
Is it safe to say if you can ping the other computer, you should be able to reach it with VNC?
-
- Posts: 2
- Joined: 2024-05-24 08:15
Re: How to connect to remote PC which is on different network?
Thats a good, question, did you test that or do you have any Experience on that yet?VNCHELP890 wrote: ↑2023-08-14 13:58 Is it safe to say if you can ping the other computer, you should be able to reach it with VNC?
Thank you very much in advance!