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

Binding to 0.0.0.0 causes Hot Rod clients connection errors

    XMLWordPrintable

Details

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

    Description

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: