Re: How to find out if a TCP port is in use?
Re: How to find out if a TCP port is in use?
- Subject: Re: How to find out if a TCP port is in use?
- From: "Finlay Dobbie" <email@hidden>
- Date: Fri, 17 Mar 2006 18:23:01 +0000
On 17/03/06, Stephan Ruggiero <email@hidden> wrote:
> Hi,
> thank you, I think this should do the trick.
>
> lsof -i :abc
> gives me every process listening on or connected to the port abc.
>
> If other user`s processes are needed, you can just run lsof with sudo.
Well, I wouldn't use this approach if you want to determine this
programmatically.
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden