finding a process holding a port???

Harold R Pomeranz hrp at homxa.att.com
Mon Oct 8 07:30:00 AEST 1990


I have an internal piece of software that needs to listen at a particular
port and which was working up until a couple of weeks ago.  Now the daemon
won't run because something else is apparently listening at that port (I
can telnet there and get a connection, but there's nothing to give away
what the listener might be).  What I'm looking for is a way to either (a)
given the port number, get a listing of those processes which are using it
or (b) close a port connection without knowing the listening processes so
that my process can use it.  I have found netstat -a to be unhelpful.

Hal Pomeranz			pomeranz at att.com  <or>  att!pomeranz



More information about the Comp.sys.sun mailing list