karaf machine is using IPV4.
I can see the machine is listening on given ports  ( *:44444   and  *:1099 )
I can even use telnet from remote machine on those ports successfully.
But jconsole is NOT able to connect and in order to make it work I need to
change "0.0.0.0" to the host IP in  shell config file.



On Wed, 9 Sep 2015 at 15:46 Jean-Baptiste Onofré <[email protected]> wrote:

> Hi Mohammad,
>
> yes, it's a typo.
>
> Are you use IPv4 or v6 on your machine ?
>
> Regards
> JB
>
> On 09/09/2015 03:31 PM, Mohammad Shamsi wrote:
> > Hi JB,
> >
> > I am using this uri:
> > * service:jmx:rmi:///jndi/rmi://<my-host>:1099/karaf-root*
> >
> > btw, your example uri starts with: *service:rmi:jmx *instead
> > of* service:jmx:rmi . *is that a typo?
> >
> >
> > On Wed, 9 Sep 2015 at 15:21 Jean-Baptiste Onofré <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     Hi Mohammed,
> >
> >     What service URL do you use remotely ? You should use
> >     service:rmi:jmx:///jndi/rmi://host:port/karaf-root
> >
> >     I confirm that 0.0.0.0 binds to all network interfaces.
> >
> >     Regards
> >     JB
> >
> >     On 09/09/2015 12:01 PM, Mohammad Shamsi wrote:
> >      > Hi,
> >      >
> >      > I am using karaf 3.0.4 with karaf management (jmx) enabled.
> >      > When rmiRegistryHost is set to 0.0.0.0 ( default ), I am not able
> to
> >      > connect from remote machine. Only if I replace 0.0.0.0 with host
> IP
> >      > address, the remote JMX connection would be possible.
> >      >
> >      > I was thinking that 0.0.0.0 binds the server to all interfaces,
> but
> >      > apparently that is not correct. Is this a bug or I am missing
> >     something ?
> >      >
> >      >
> >      > Cheers,
> >      > M. Sarbandian
> >
> >     --
> >     Jean-Baptiste Onofré
> >     [email protected] <mailto:[email protected]>
> >     http://blog.nanthrax.net
> >     Talend - http://www.talend.com
> >
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to