Pages: [1]
|
|
|
|
Topic: Check port used in linux (Read 115 times) |
Print |
|
|
iTrust:
( 0) Level: Jr. Webmaster
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 ]
|
|
|
|
|
iTrust:
( 0) Level: Jr. Webmaster
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 ]
|
|
|
|
|
| « previous next »
|
| Print |
|
|
Pages: [1]
|
|
|
|