Operating System - HP-UX
1829729 Members
1619 Online
109992 Solutions
New Discussion

Error message : 'listener : Address already in use'

 
Lucas Stéphane
Occasional Contributor

Error message : 'listener : Address already in use'

On HP-UX 11.00
Sometimes, when we try to launch an application using TCP/IP ports, we have this message (the program is trying to listen the port 25000).
On the same machine, we have another application using ports (it listens on other ports but we don't knonw if it uses others ports).
Sté°¨ane
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: Error message : 'listener : Address already in use'

Hi,

It's easy to get the information from lsof. You can get it from

http://hpux.asknet.de/hppd/hpux/Sysadmin/lsof-4.55/

You can use the command lsof:25000 to see the processes.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Robin Wakefield
Honored Contributor

Re: Error message : 'listener : Address already in use'

Hi Lucas,

Use:

netstat -a

or

lsof -i tcp:25000

Rgds, Robin.
Sridhar Bhaskarla
Honored Contributor

Re: Error message : 'listener : Address already in use'

oopsss.. the command is

lsof -i tcp:25000

-Sri

You may be disappointed if you fail, but you are doomed if you don't try