Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
How can I see all active connections?

I have some conflict of ports and my WampServer didn't work, so I have to know which port is used.

Is there a command line command ? or any program to monitor the ports ?

share|improve this question

marked as duplicate by Oliver Salzburg, 8088, Sathya Jul 20 '12 at 12:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3 Answers 3

up vote 15 down vote accepted

To list open ports and listening services, then from within command prompt, type

netstat -a


netstat -an

For more details, in command prompt type

netstat ?
share|improve this answer

To get the most information about what ports are open, what state they're in, and other relevant network information, I would suggest you download nmap. It's a free network mapper/port scanner, and by typing either nmap -v in Command Prompt or in the "Host" or "Target" field in the GUI counterpart (called Zenmap), you will quickly obtain any information you need about open ports on your computer.

share|improve this answer

Telnet attempts to connect to a server on a port

telnet <hostname> <port>

You will either connect, or not.

Simple tried and true method.

Works on Windows or Linux

share|improve this answer

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