Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10874

Binding to 0.0.0.0 causes Hot Rod clients connection errors

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 10.0.0.Final
    • Server
    • None

      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:

      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)
      

      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...

              Unassigned Unassigned
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: