One of them must be the tcp port opened to stop karaf as in tomcat
(i.e. a free random port is opened and bound to the localhost only and
written to the data/port file).
It can be configured using the karaf.shutdown.port property (the
default value of 0 means a random port).

Not sure about the other one though.

On Tue, Nov 9, 2010 at 17:56, Roshan A. Punnoose
<rpunno...@proteuseng.com> wrote:
> Hi,
>
> I am trying to figure out what ports Karaf opens up. I was able to get most 
> of them (ssh, jmx rmi, etc) except a few. Everytime Karaf starts up (v. 
> 2.1.0) it opens up two randomly assigned ports in the high numbers. For 
> example:
>
> 3:tcp4       0      0  127.0.0.1.57165        *.*                    LISTEN
> 4:tcp46      0      0  *.57164                *.*                    LISTEN
>
> If I turn off the "DisableAttachMechanism" flag so that jconsole cannot 
> connect to karaf, the bottom one is gone, but the top one remains:
> 3:tcp4       0      0  127.0.0.1.57168        *.*                    LISTEN
>
> (Notice, they are different numbers because they are randomly assigned)
>
> Does anyone know why this port is opened, and how to close it?
>
> Roshan Punnoose
> rpunno...@proteuseng.com
> Proteus Technologies
>
>
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to