View previous topic :: View next topic |
Author |
Message |
KraziKid Tux's lil' helper
Joined: 26 Dec 2002 Posts: 128
|
Posted: Tue Jan 14, 2003 3:16 am Post subject: How to tell what service is currently using a port? |
|
|
How can I tell what service is currently attempting to use a port? |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Jan 14, 2003 3:17 am Post subject: |
|
|
netstat -lp |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Tue Jan 14, 2003 1:07 pm Post subject: |
|
|
I suggest you emerge lsof, and run `lsof -i` _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Tue Jan 14, 2003 5:45 pm Post subject: |
|
|
All to tcp-port binded processes:
Particular port:
Code: |
~# fuser -v $PORT/tcp
|
or using lsof
Code: |
~# lsof -i tcp:$PORT
|
Check all appropriate manpages for more information. |
|
Back to top |
|
|
|