Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

5 Answers

up vote 1 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
add comment

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

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

TCPView from sysinternals - http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

The entire sysinternals suite is highly recommended.

share|improve this answer
add comment

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

share|improve this answer
add comment

sure there are other tools but http://www.netlimiter.com/ is one tool i have used in the past

share|improve this answer
add comment

Your Answer

 
discard

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.