Take the 2-minute tour ×
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.

add comment

3 Answers

up vote 13 down vote accepted

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

netstat -a

or

netstat -an

For more details, in command prompt type

netstat ?
share|improve this answer
add comment

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

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 127.0.0.1 in Command Prompt or 127.0.0.1 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
add comment

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