7 Replies Latest reply on Apr 18, 2012 10:18 AM by Justin Bertram

    Changing the messaging port causes a Remote Connection using Netty to fail

    Noa Drach Novice

      Hello,

       

      I'm trying to set up my server to use ports other than the default ones.

       

      in the <socket-binding-group ... > entry I edited

       

      <socket-binding name="messaging" port="5445"/> and changed it to <socket-binding name="messaging" port="5645"/>

       

      I see no errors when the server starts up, but when it try to connect to a queue using Netty I get the following error

       

      Caused by: HornetQException[errorCode=2 message=Cannot connect to server(s). Tried with all available servers.]
       at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:769)
       at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:601)
      

       

       

      If I change the port back to 5445 I am able to connect from remote

       

      any ideas?

       

      thanks,

      Noa