Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

How to check what ports are being used by processes on the server? 

Jun 24, 2014 05:03 PM

netstat –lnput

In this example HTTP process is listening on port 443 and 80.

[root@huskk mercury]# netstat -lnput
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:32768 0.0.0.0:* LISTEN 2475/rpc.statd
tcp 0 0 127.0.0.1:8558 0.0.0.0:* LISTEN 552/perl
tcp 0 0 127.0.0.1:9999 0.0.0.0:* LISTEN 553/Daemon::TupleSp
tcp 0 0 127.0.0.1:8888 0.0.0.0:* LISTEN 557/Daemon::Persist
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 11878/postmaster
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2713/master
tcp 0 0 :::80 :::* LISTEN 658/httpd
tcp 0 0 :::22 :::* LISTEN 32476/sshd
tcp 0 0 :::443 :::* LISTEN 658/httpd
udp 0 0 0.0.0.0:32768 0.0.0.0:* 2475/rpc.statd
udp 0 0 127.0.0.1:8210 0.0.0.0:* 15886/msgHandler
udp 0 0 0.0.0.0:8211 0.0.0.0:* 15886/msgHandler
udp 0 0 0.0.0.0:1812 0.0.0.0:* 616/radiusd
udp 0 0 0.0.0.0:1813 0.0.0.0:* 616/radiusd
udp 0 0 0.0.0.0:162 0.0.0.0:* 647/snmptrapd
udp 0 0 0.0.0.0:955 0.0.0.0:* 2475/rpc.statd
udp 0 0 0.0.0.0:69 0.0.0.0:* 8873/xinetd
udp 0 0 127.0.0.1:8396 0.0.0.0:* 584/Daemon::PAPI
udp 0 0 127.0.0.1:2256 0.0.0.0:* 584/Daemon::PAPI

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.