Home Home Forum  ForumHelp  HelpSearch  Search  Login  RegisterTools  Tools   Show Room


Username: Password: Remember me?



Pages: [1] Go Down
Topic: Check port used in linux  (Read 115 times) Print | 

iTrust: (0)
Level: Jr. Webmaster
*

Offline Offline

Posts: 34
Referrals: 0

« on: November 07, 2008, 08:25:03 PM »
Check port used in linux

If you want to see which process is using which port, you can do it with the following command:

# netstat -tulpn| grep :80

This gives the following output:

tcp        0      0 :::80                       :::*                        LISTEN      8879/httpd


As you can see, apache (httpd) is using port 80 on PID 8879.
You can also do it with other ports by replacing the number (80) by another port.
 IP: [ Logged ] View Profile



iTrust: (0)
Level: Jr. Webmaster
*

Offline Offline

Posts: 28
Referrals: 0

« Reply #1 on: November 16, 2008, 04:44:21 AM »
now this is becoming pretty intense for my brains.
i'll be bookmarking thiss thread for easy reference.
thnaks
-------------------------------
tetsing only
 IP: [ Logged ] View Profile


« previous next »
Print | 
Pages: [1] Go Up  
« previous next »

Jump to:  




Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2009, Simple Machines LLC
SimplePortal 2.3 © 2008-2009, SimplePortal
Valid XHTML 1.0! Valid CSS!
Online Webmasters
Feedback Form