Detecting Listening Network Ports

One of the most important tasks is to detect and close network ports that are not needed.

To get a list of listening network ports (TCP and UDP sockets), you can run the following command:

netstat -tulp

Running a port scan from another server. (make sure that you have permissions to probe a machine):

# nmap -sTU

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.