Re: Which app owns an open listening socket?
Re: Which app owns an open listening socket?
- Subject: Re: Which app owns an open listening socket?
- From: Peter Sichel <email@hidden>
- Date: Wed, 1 May 2002 09:00:09 -0400
At 3:14 PM -0400 4/30/02, Avi Drissman wrote:
I just saw a case where our server app couldn't launch because
someone else had an open TCP listening socket on the port that it
uses. Sure enough, netstat -a showed someone listening on 18769. But
I can't figure out how you can find out what app it is. lsof -i
comes the closest, but it only shows open connections, not
listeners. How can I do that?
lsof -i shows information on "open files". Wouldn't this normally
include passive opens? The Connection List tool in IPNetMonitorX
uses "lsof -i" and appears to show listening ports. [It's free
for 21-days if you want to try it:
http://www.sustworks.com/site/downloads.html]
- Peter
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.