Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get list of port which are in use on the server [closed]

How to get list of ports which are in use on the server?

like image 795
hrishi Avatar asked Sep 17 '09 11:09

hrishi


People also ask

How can I get a list of ports in use?

The Netstat command can list currently used ports, which might be helpful if you suspect an application is clashing with another one on an active port. Use the -an switch to show all connections and listening ports in numeric form. Check the output for any port that you think your program might use.


1 Answers

Open up a command prompt then type...

netstat -a 
like image 62
Chris Arnold Avatar answered Oct 11 '22 11:10

Chris Arnold