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 using Windows XP pro, and I need to know if something is registered on a port.

If so how can I tell what is on the port?


What I mean by registered is that I am trying to test a .NET remoting application, and I need to see if the application is running or registered on a given port.

share|improve this question
up vote 26 down vote accepted

netstat -a -b will show all listening ports and the executable name (rather than just the PID).

If you prefer a graphical version, Microsoft's TCPView will show you the same information, updating in real-time.

share|improve this answer

How do you define "registered"?

Anyway, netstat -o will list the currently used and listening ports with PIDs and tasklist (or whatever process id lister is available) would sort the process name and executable out I guess? ^^

edit: Oh nice, didn't notice the netstat -b option - that's obviously the better option :)

share|improve this answer

Run netstat from the command line and it will show you all of the current connections. netstat -b will show you what program is using the port.

share|improve this answer

TCPview from the Sysinternals Suite does it in a nice, GUI way.

It includes a configurable update interval, address resolving and difference highlighting. And it is a lot faster than netstat -a -b.

Also available as a command line version (tcpvcon.exe). Both are free.

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.