Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to run VNC at 5900, but allegedly some process is holding it, thus vnc complains: NOT accepting connections.

how to fix that

share|improve this question
up vote 2 down vote accepted
  • Is it already installed as a service, but you're launching it as a client? The service will already have the port open.
  • Is the built-in firewall interfering?
  • As a temporary work-around, have you considered just bumping the display port by 1? This serves as a diagnostic - if you can connect to {host IP}:5901 just fine, then most likely the port really is taken. If that host-port combo also fails, then it's more likely your firewall is causing you grief.
share|improve this answer

start -> run -> cmd -> netstat -b

share|improve this answer
you can use netstat -o as well in combination with task manager. – Keith Jul 31 '09 at 2:32

TCPView from sysinternals -

The entire sysinternals suite is highly recommended.

share|improve this answer

download and run cports which is available here. this will tell you what process is listening on what ports.

share|improve this answer

sure there are other tools but is one tool i have used in the past

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.