Skip to content

Instantly share code, notes, and snippets.

@sjorge
Created January 29, 2015 19:03
Show Gist options
  • Save sjorge/e7f4151793801b0a6c95 to your computer and use it in GitHub Desktop.
Save sjorge/e7f4151793801b0a6c95 to your computer and use it in GitHub Desktop.
linux netstat on lx
root@lxubuntu64:~# ./netstat -tpln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN -
tcp 0 0 172.16.15.232:389 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:7306 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:23232 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:23233 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:53 :::* LISTEN -
tcp6 0 0 :::11211 :::* LISTEN -
tcp6 0 0 :::25 :::* LISTEN -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment