Operating System - HP-UX
1825719 Members
2844 Online
109686 Solutions
New Discussion

hpux 11.11 freeing up a port

 
ikeleong
Advisor

hpux 11.11 freeing up a port

hello;

I've got cryptic Oracle DBA folks who wants me to release a port on 10284

doing a 'netstat -an | grep 10284' I get:

tcp 0 0 *.10284 *.* LISTEN
I've never had to free up a tcp port, what is the best way to do it.
2 REPLIES 2
spex
Honored Contributor

Re: hpux 11.11 freeing up a port

Kill the process listening on that port, if it's safe to do so. 'lsof' will tell you the pid using 10284/tcp.

PCS
A. Clay Stephenson
Acclaimed Contributor

Re: hpux 11.11 freeing up a port

Lsof will easily identify the process but never, ever follow the instructions of a DBA about killing a process on a given port. The process associated with that port may have nothing to do with a database and may be some unrelated but critical process. So listen to the DBA patiently and then investigate carefully and only if you are convinced that this is a safe process to terminate, proceed.
If it ain't broke, I can fix that.