Home › Forums › Linux Questions & Answers.. › Networking.. › How to check the ports opened on server
- This topic has 0 replies, 1 voice, and was last updated 12 years, 2 months ago by
jijesh Kalliyat.
Viewing 1 post (of 1 total)
-
AuthorPosts
-
jijesh Kalliyat
MemberIt can be done by “netstat” command as shown below:
netstat print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
#netstat -paunt (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:20048 0.0.0.0:* LISTEN - tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN - tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN - tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN - tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:35357 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:41856 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:5672 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:875 0.0.0.0:* LISTEN - tcp 0 0 101.63.185.151:37594 68.232.44.169:80 TIME_WAIT - tcp 0 0 101.63.185.151:40212 64.71.153.202:80 TIME_WAIT -
-
AuthorPosts
Viewing 1 post (of 1 total)