Thanks all who replied.
the answer was of course lsof.
I downloaded it and got exactly what I needed.
> What you need is lsof
> lsof -i tcp:port or
> lsof -i udp:port
> as root will tell you what program owns the port.
> James Ranks
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:07 CDT