1831504 Members
3270 Online
110025 Solutions
New Discussion

port allocation

 
SOLVED
Go to solution
Konrad Hegner
Frequent Advisor

port allocation

Hello

We work with Bridges (x-terminal software from MS Windows-side). and for this connection, it need on the HP-UX 11.x the bridges-server deamon. Normaly it runs on port 491. Because of any reason we had to change it to 492 und now we would change it back to 491. Unfortunately it does not running, the error-message told us, that the port 491 is in use, but we don't thing, that it is in use.

I think, there is a tool with the HP-UX OS, where you can show all the used ports. Know anyone the name from this tool and how it works or how can I 'kill' a 'used-port'?
Or maybe someone know how we can change the port for the bridges-deamon?


Thanks
2 REPLIES 2
Pete Randall
Outstanding Contributor
MANOJ SRIVASTAVA
Honored Contributor

Re: port allocation

Hi Konrad

Esentially you want to see whether the port is utilized or not , so what you have to do is to use lsof , you can get a compiled binary version at :

ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/



also there are option in netstat which will help you identifying the occupied ports.


Manoj Srivastava