Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Who has port X open?



> How can I tell what program has port X opoen?

As was sorta already mentioned, to see what's using what, I normally go
for 'netstat -tu' to see TCP and UDP connections, and 'netstat -tup' to
see what programs are attached to those sockets.  Also, 'netstat -tul'
is nice for seeing what services are listening on particular ports.  I
avoid the -n, personally, as I like seeing both the dns and socket name
resolutions.

-b

P.S. I first read that and thought, "Wait, don't you always need port
6000 open to run X?", my mistake. ;-)
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org