How to find if a port is free or occupied

One of the ways is:

netstat -tulnap

No comments: