Hello,
I have 2 new Windows 11 PCs and originally their network was configured as public network.
At this time I could easily connect from my normal PC (further on called host is in the same network inside my house) without issues with UltraVNC 1.4.3.6.
Then I changed network of the new PCs to a private network, but for both I got the message "Failed to connect to server!"
Switching back to public network VNC connection works again...
The two new PCs are connected by WLAN, while my host is connected with a cable.
The network on the host is also set to "private" and the VNC connection from the new PC to the Host works also without issues.
Basically the setting for all PCs in my home network is set to "Private network" and allow a VNC connection with this setting...
Any idea why this happens and how to allow VNC connections when network is configured as "private network" ?
I have searched the forum, but there are that many hits, that I might have overlooked the answer... Sorry for this.
But if anyone has an idea or the link to the answer for my problem this would be highly appreciated.
Thanks a lot.
Hermann
Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
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
Windows 11: Public Network VS Private Network
Re: Windows 11: Public Network VS Private Network
The first time connecting to your home network, you were TOO LATE to react on the message if you wanted internal computers to reach that computer. After that, that computer gets PUBLIC as network connection (instead of PRIVATE).
If you start a program which wants to receive outside connections, the Windows firewall will ask if it can make a rule for it. If you answer YES then that rule gets made for your PUBLIC profile. After switching to PRIVATE manually, that rule doesn't apply anymore (because it was only for PUBLIC, not PRIVATE). Once that rule was made, it won't prompt you again for it when you change the profile from Public to Private.
What you can do... Press Start and type Firewall, and choose "Windows Defender Firewall (control panel)". Then choose Allow an app or feature through Windows Defender Firewall. There you can see all the rules that are made.
If correct, you see that winvnc.exe (UltraVNC) is only allowed for "Public". Press Change settings and also check the Private box.
For better security you would want Public disabled, for when your computer gets connected to a strange network, but if that's never the case for you, you can leave it.
Re: Windows 11: Public Network VS Private Network
@ruckb, like @rvk has said, it is a problem of firewall/antivirus on your machines.
UltraVNC uses by default the 5900 tcp/udp port.
It is really important to have Private networks, it must be never "Public" for security reasons.
UltraVNC uses by default the 5900 tcp/udp port.
It is really important to have Private networks, it must be never "Public" for security reasons.