Quantcast
RSS Entries RSS
RSS Subscribe by Email

Determining Port Usage

Want to know how to figure out what’s running on a given port on your machine?  The following example will show you what’s running on port 80 on your Linux machine:

lsof -i -n -P | grep :80

2 Comments »

  1. Pandi said,

    July 22, 2009 at 7:40 pm

    Hi,

    How to do the same in windows.

    Thanks,
    Pandi

  2. sebastien said,

    August 14, 2009 at 5:12 am

    @Pandi

    netstat -a -n -o, write the pid, and find it in the Task Manager (you have to show the PID column in View > Select Columns)

RSS feed for comments on this post · TrackBack URL

Leave a Comment