Operating System - HP-UX
1832973 Members
2444 Online
110048 Solutions
New Discussion

Re: Why Does Java Open Port 12345?

 
morganelan
Trusted Contributor

Why Does Java Open Port 12345?

Dear all Unix Gurus,

I have done running lsof on my production server to capture application that opens port 12345.The output looks like follow:
java 27222 apps11i 55u IPv4 0x4ef0d280 0t0 TCP myhost.domain.com:12345 (LISTEN)

My question is how to close this port with right procedure?Thanks in advance.
Kamal Mirdad
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: Why Does Java Open Port 12345?

You either kill the process or you have the developer change the port to something else to your liking. Port 12345 is reserved for Italk: http://www.iana.org/assignments/port-numbers

live free or die
harry d brown jr
Live Free or Die
Steven E. Protter
Exalted Contributor

Re: Why Does Java Open Port 12345?

Shalom,

I don't think java did it. I think your application programmer(s) did it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arunvijai_4
Honored Contributor

Re: Why Does Java Open Port 12345?

First of all, Welcome back Harry after a long pause.

Hi Morganelan,

You can kill the java process which listens on this port. Check with others before doing so.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
harry d brown jr
Honored Contributor

Re: Why Does Java Open Port 12345?

Arun,

Been busy doing stupid mind numbing things and nothing really fun -> managing performance testing of a new application.

Thabks for noticing :-))))

live free or die
harry d brown jr
Live Free or Die
morganelan
Trusted Contributor

Re: Why Does Java Open Port 12345?

Thanks all of you ....
Kamal Mirdad