Create account Login Webmail Contact Us

How to find out what ports are listening on your server.
Posted by Mike C. on 11 September 2009 11:57 PM
There are several ways to do this and the best way is to install a utility called "lsof" which you can find in /usr/ports/sysutils/lsof. Once you install this you will type:

# lsof -i

This will list out all the ports / ips / hostnames that are listening on your server. Another way would be to use the "netstat" command by typing:

# netstat --listen
(435 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name: