Who has port X open?
Brian J. Conway
dogbert at clue4all.net
Wed Apr 11 23:39:39 EDT 2001
> 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).
More information about the Discuss
mailing list