Hi,
If I have a socket based server listening at a particular port. How do
I check this. Is there a command available which would tell me "Server
x" is listening at "port y"
Thanks and Regards,
M Shetty
|
|
0
|
|
|
|
Reply
|
mshetty
|
9/2/2003 12:22:36 PM |
|
what you said
> Hi,
>
> If I have a socket based server listening at a particular port. How do
> I check this. Is there a command available which would tell me "Server
> x" is listening at "port y"
>
> Thanks and Regards,
> M Shetty
>
use lsof.
bash$ lsof |grep LISTEN
java 26926 dynamo 13u IPv4 0x30001328428 0t0 TCP *:48860 (LISTEN)
First field is the executable program's name, the second is the pid, and
the 48860 is the port.
--
if you're not part of the future then get outta the way
|
|
0
|
|
|
|
Reply
|
Torleiv
|
9/2/2003 2:36:05 PM
|
|