[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Redhat Port Usage



On Thu, May 27, 2004 at 03:18:46PM +0100, Netsonic wrote:
> Hi all,
> 
> I seem to be a little stuck here on what I'm sure is a most simple
> resolution.
> 
> Running Apache on Redhat, it fails to start, with an error message stating
> '(98) Address Already In Use: make sock: could not bind to address
> 192.168.1.100:8080 no listening sockets available shutting down"
> 
> Methinks it might be to do with the fact that port 8080 is normally used for
> proxy stuff.
> 
> Is there a quick and easy way to see which ports are in use, and by which
> program ??

There is a program called "lsof" which is great for stuff like this. It
shows open files, sockets, pipes etc and what program has them open.

I don't know if it's installed with redhat. If you can't track it down
with netstat, then track down a copy of lsof.

-- 
Hulver's site. Community blogging site running scoop.
http://www.hulver.com/scoop/
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.