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

Failed to connect to server

Post Reply
User avatar
Oliver
Site-Admin
Site-Admin
Posts: 532
Joined: 2004-04-21 23:04
Location: Frankfurt am Main
Contact:

Failed to connect to server

Post by Oliver »

[user=494][/user] mentions: Replace firefox by UltraVNC server and (fx) by (winvnc) in this checklist. Good point!

For Windows XP/2003 or better:
Goto Control Panel, Windows Firewall and turn it off.
Try again to connect.
If it works, turn the firewall back on, goto the Exceptions tag and "Add Program" (UltraVNC).
This needs to be done on both machines.
If this still doesn't work go back to the Windows Firewall and "Add Port" 5900.

For Windows 2000 or before:
Consult the manual for your firewall and make sure that the port 5900 is unblocked.

If neither of these works, ask here in the forum.
Oliver

How to Report Bugs Effectively
My homepage | WinDirStat
PGP-keys:
  • Forum or UltraVNC-related: 0xA2DD1DBD, E18B 2E2F 4F3E D143 4ED4 3E2B E172 FB55 A2DD 1DBD
  • Other matters: 0x0E88590F, 38B5 5EBA A470 C0F7 0942 81B8 C779 D829 0E88 590F
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: Failed to connect to server

Post by bevtech »

Another solution is to make sure that your cable or dsl modems do not have a firewall active in them. Speedstreams has a few models like 5200, 5400 that some ISP have on by default. I came across that the other day and wanted to add this to the FAQ..:)
Last edited by bevtech on 2006-06-20 15:07, edited 1 time in total.
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
User avatar
Oliver
Site-Admin
Site-Admin
Posts: 532
Joined: 2004-04-21 23:04
Location: Frankfurt am Main
Contact:

Re: Failed to connect to server

Post by Oliver »

A contribution from one of our users [user=8105][/user]:
ljwheeler wrote:The recommendations mentioned in this particular thread failed to resolve this issue for me but led me to make the following registry changes which did in fact resolve the problem. I am running the latest version of UltraVNC and the latest version of ZoneAlarm Security Suite.

All of the following changes were made under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.

Initial settings were as follows:
\vnccom\Start = 2
\vncdrv\DependOnService = NULL (This key did not exist)
\vncdrv\Start = 3
\vsmon\Start = 3
\winvnc\DependOnService = NULL (This key did not exist)
\winvnc\Start = 2

Modified settings are as follows:
\vnccom\Start = 3
\vncdrv\DependOnService = vsmon
\winvnc\DependOnService = vsmon
\winvnc\Start = 3

If you could post this information, it might be of benefit to others who are currently encountering this same issue with UltraVNC
From reading it I assume that on some setups the system does not wait for one service/driver to be started before another one depending on it.

I am not sure about the start settings, though because especially for the drivers it is not always harmless to change them, but I'll ask one of the main developers to look into it.
Oliver

How to Report Bugs Effectively
My homepage | WinDirStat
PGP-keys:
  • Forum or UltraVNC-related: 0xA2DD1DBD, E18B 2E2F 4F3E D143 4ED4 3E2B E172 FB55 A2DD 1DBD
  • Other matters: 0x0E88590F, 38B5 5EBA A470 C0F7 0942 81B8 C779 D829 0E88 590F
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Failed to connect to server

Post by redge »

if vncviewer from LAN can't reach vncserver on WLAN laptop/desktop computer,
open bridge between LAN (wired) and WLAN (wireles),
check your manual of your broadband router or your internet gateway device.

the bridge is blocked and can be unblocked,
enable bridge
(disabled by default for security purpose)

bridge closed
LAN --> WLAN fail
WLAN --> LAN success

bridge open
LAN <--> WLAN success
WLAN <--> LAN success


Question: Unable to contact computer/server by hostname ?
computer receive dynamic ip from DHCP server.

Solution:
Control Panel ... Security Center...
Windows Firewall -- tab Exceptions --
[v] Files and Printer Sharing (enable)
Last edited by redge on 2009-02-01 21:27, edited 4 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply