Skip to content

Instantly share code, notes, and snippets.

@cybernet
Created February 1, 2013 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cybernet/4694722 to your computer and use it in GitHub Desktop.
Save cybernet/4694722 to your computer and use it in GitHub Desktop.
root@cnet:~# netstat -plnt
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:80 0.0.0.0:* LISTEN 3750/nginx
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 1013/perl
tcp 0 0 178.157.81.119:53 0.0.0.0:* LISTEN 1179/mydns
tcp 0 0 127.0.0.2:53 0.0.0.0:* LISTEN 1179/mydns
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1179/mydns
tcp 0 0 0.0.0.0:54 0.0.0.0:* LISTEN 162/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 954/master
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 954/master
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1120/mysqld
tcp6 0 0 2001:67c:228c:2::8c2:53 :::* LISTEN 1179/mydns
tcp6 0 0 2001:67c:228c:2::94b:53 :::* LISTEN 1179/mydns
tcp6 0 0 2001:67c:228c:2::a97:53 :::* LISTEN 1179/mydns
tcp6 0 0 ::1:53 :::* LISTEN 1179/mydns
tcp6 0 0 2001:67c:228c:2::2b0:53 :::* LISTEN 1179/mydns
tcp6 0 0 :::54 :::* LISTEN 162/sshd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment