[infinispan-issues] [JBoss JIRA] (ISPN-10874) Binding to 0.0.0.0 causes Hot Rod clients connection errors

Gustavo Fernandes (Jira) issues at jboss.org
Wed Oct 30 12:43:00 EDT 2019


Gustavo Fernandes created ISPN-10874:
----------------------------------------

             Summary: Binding to 0.0.0.0 causes Hot Rod clients connection errors
                 Key: ISPN-10874
                 URL: https://issues.jboss.org/browse/ISPN-10874
             Project: Infinispan
          Issue Type: Bug
          Components: Server
    Affects Versions: 10.0.0.Final
            Reporter: Gustavo Fernandes


I am starting the server with server.sh -Dinfinispan.bind.address=0.0.0.0 but when connecting through Hot Rod, it throws a weird error:

{noformat}
org.infinispan.client.hotrod.exceptions.TransportException:: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /0.0.0.0:11222
    at org.infinispan.client.hotrod.impl.Util.rewrap(Util.java:79)
    at org.infinispan.client.hotrod.impl.Util.await(Util.java:52)
    at org.infinispan.client.hotrod.impl.RemoteCacheImpl.ping(RemoteCacheImpl.java:542)
{noformat}

I'd expect 0.0.0.0 to mean a "bind to all interfaces" ? In any case, this 0.0.0.0 seems to be passed down to the HR client and it doesn't know what to do with it...



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list