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

"The connection closed unexpectedly, Do you wish to reconnec

Post Reply
chrgvb
Posts: 2
Joined: 2011-12-18 09:43

"The connection closed unexpectedly, Do you wish to reconnec

Post by chrgvb »

Hi!

Systems:
Server Win7 64 bit Prof.
Client Thinkpad XP Prof., WLAN

It is not possible to reach the server from the NB and from any other PC in the Net. I tried all available VNCs. Outside Win7 64 bit everything is ok, but the server is unavailable with the error "The connection closed unexpectedly, Do you wish to reconnect..."
There are two different passwords and I downloaded the "Vista"-software.
The manual start of VNC makes no difference, still the same error

Any hints?
Thank you
chrgvb
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: "The connection closed unexpectedly, Do you wish to reco

Post by B »

At the "server" machine, open a command prompt and enter:

Code: Select all

C:\> netstat /an | find/i "5900"
If it does NOT return a line like:

TCP 0.0.0.0:5900 0.0.0.0:0 LISTENING

then the VNC service just isn't listening with an open port, even on its own machine. You would need to reinstall with administrative rights and/or tweak any local software firewalls to allow it to work.

P.S. You can just type "netstat /an" and manually view the results if you prefer.
chrgvb
Posts: 2
Joined: 2011-12-18 09:43

Re: "The connection closed unexpectedly, Do you wish to reco

Post by chrgvb »

Hi!
Thanks for the answer.

The answer on
netstat /an | find/i "5900"
is as expected
TCP 0.0.0.0:5900 0.0.0.0:0 ABHÖREN (as it is a german system)

So, that seems to be not the answer to solve the problem.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: "The connection closed unexpectedly, Do you wish to reco

Post by B »

But it's a great piece of information nonetheless -- it tells us that the VNC server IS running properly as far as the local machine is concerned.

The next step I would take is, from a another machine on the SAME local network, use a command line

Code: Select all


c:\> telnet serverlocalipaddress 5900

or 

"c:\program files (x86)\telnet\telnet" serverlocalipaddress 5900
and see if I got a response that way. (Either an RFB header or encrypted junk; if no response at all the server couldn't be reached.)

Unfortunately Microsoft stopped including their bare bones telnet client in default installations (more because they're stupid than because they're evil) so you may have to unpack it or download it.

(Language is so fascinating; in English "abhor" and "abhorrent" mean hate and hateful; apparently from Latin and Middle English roots.)
Post Reply