nertstat is a command-line tool that displays TCP/IP protocol statistics and active connections to and from your computer. It diisplays the contents of various network-related data structures for active connections. The command option netstat -nlists only current connections, including ip addresses and port numbers.