By Fekete Zoltán , 16 January, 2019 netstat Use this command to list all listening IPV4 ports with ip and port numbers: $ netstat -anl -f inet Tags netstat netbsd