Wednesday, February 22, 2012

Windows Server - Check Ports

To quickly check the ports open on a server run the following from a DOS prompt


netstat -an |find /i "listening" > c:\ports.txt


Or to check an individual port use telnet


telnet <servername> <port>


example - telnet contososmtp.com 83

No comments:

Post a Comment