Skip to content

Instantly share code, notes, and snippets.

@ilhanyumer
Created September 27, 2014 09:08
Show Gist options
  • Save ilhanyumer/729002767526fbf08fa1 to your computer and use it in GitHub Desktop.
Save ilhanyumer/729002767526fbf08fa1 to your computer and use it in GitHub Desktop.
ntlp
[root@185 ~]# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name
tcp 0 0 127.0.0.1:8005 0.0.0.0:* LIST EN 4796/java
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LIST EN 4796/java
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LIST EN 21409/mysqld
tcp 0 0 0.0.0.0:970 0.0.0.0:* LIST EN 3332/rpc.statd
tcp 0 0 0.0.0.0:44 0.0.0.0:* LIST EN 6765/sshd
tcp 0 0 0.0.0.0:10991 0.0.0.0:* LIST EN 4796/java
tcp 0 0 0.0.0.0:111 0.0.0.0:* LIST EN 3271/portmap
tcp 0 0 0.0.0.0:80 0.0.0.0:* LIST EN 4700/httpd
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LIST EN 4796/java
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LIST EN 4768/postgres
tcp 0 0 127.0.0.1:25 0.0.0.0:* LIST EN 4338/sendmail
tcp 0 0 0.0.0.0:30847 0.0.0.0:* LIST EN 4796/java
[root@185 ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment