netstat To list open network ports and the processes that own them on FreeBSD with netstat, you can use this command: netstat -a | egrep 'Proto|LISTEN' The output for this on my laptop running FreeBSD is: Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 localhost.ipp *.* LISTEN tcp6 0 0 localhost.ipp *.* LISTEN tcp4 0 0 *.2200 *.* LISTEN tcp6 0 0 *.2200 *.* LISTEN tcp4 ...