javax.jms.JMSException: Could not connect to broker URL: ssl://satsrv04.researchstudio.at:61617. Reason: java.net.ConnectException: Connection refused: connect

GitHub | m0ru | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    GitHub comment 738#239153841

    GitHub | 7 months ago | m0ru
    javax.jms.JMSException: Could not connect to broker URL: ssl://satsrv04.researchstudio.at:61617. Reason: java.net.ConnectException: Connection refused: connect
  2. 0

    GitHub comment 24#199221700

    GitHub | 1 year ago | RAMESHBABU18
    javax.jms.JMSException: Connection refused
  3. 0
    samebug tip
    Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection Refused

    lngooglecalsync | 2 years ago | dcryans
    java.net.ConnectException: Connection refused: connect
  6. 0

    Running RMI Client Server on two machines and Connection refused

    Stack Overflow | 3 years ago | pouria
    java.net.ConnectException: Connection refused: connect
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused: connect

    at java.net.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)[na:1.8.0_45]
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)[na:1.8.0_45]
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)[na:1.8.0_45]
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[na:1.8.0_45]
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[na:1.8.0_45]
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)[na:1.8.0_45]
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[na:1.8.0_45]
    8. java.net.Socket.connect(Socket.java:589)[na:1.8.0_45]
    8 frames
  3. Java JSSE
    SSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:656)[na:1.8.0_45]
    1 frame
  4. ActiveMQ :: Core
    TcpTransport.doStart
    1. org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:496)[activemq-client-5.8.0.jar:na]
    2. org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:459)[activemq-client-5.8.0.jar:na]
    2 frames
  5. ActiveMQ :: Broker
    ServiceSupport.start
    1. org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)[activemq-client-5.8.0.jar:5.8.0]
    1 frame
  6. AMQ HTTP
    TransportFilter.start
    1. org.apache.activemq.transport.AbstractInactivityMonitor.start(AbstractInactivityMonitor.java:140)[activemq-client-5.8.0.jar:na]
    2. org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)[activemq-client-5.8.0.jar:na]
    3. org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72)[activemq-client-5.8.0.jar:na]
    4. org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)[activemq-client-5.8.0.jar:na]
    5. org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)[activemq-client-5.8.0.jar:na]
    5 frames
  7. ActiveMQ :: Core
    ActiveMQConnectionFactory.createConnection
    1. org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:273)[activemq-client-5.8.0.jar:na]
    2. org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:238)[activemq-client-5.8.0.jar:na]
    3. org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:184)[activemq-client-5.8.0.jar:na]
    3 frames
  8. Spring Framework
    DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run
    1. org.springframework.jms.connection.SingleConnectionFactory.doCreateConnection(SingleConnectionFactory.java:351)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    2. org.springframework.jms.connection.SingleConnectionFactory.initConnection(SingleConnectionFactory.java:295)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    3. org.springframework.jms.connection.SingleConnectionFactory.createConnection(SingleConnectionFactory.java:227)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    4. org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    5. org.springframework.jms.listener.AbstractJmsListeningContainer.createSharedConnection(AbstractJmsListeningContainer.java:413)[spring-jms-4.1.1.RELEASE.jar:na]
    6. org.springframework.jms.listener.AbstractJmsListeningContainer.refreshSharedConnection(AbstractJmsListeningContainer.java:398)[spring-jms-4.1.1.RELEASE.jar:na]
    7. org.springframework.jms.listener.DefaultMessageListenerContainer.refreshConnectionUntilSuccessful(DefaultMessageListenerContainer.java:907)[spring-jms-4.1.1.RELEASE.jar:na]
    8. org.springframework.jms.listener.DefaultMessageListenerContainer.recoverAfterListenerSetupFailure(DefaultMessageListenerContainer.java:882)[spring-jms-4.1.1.RELEASE.jar:na]
    9. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:1053)[spring-jms-4.1.1.RELEASE.jar:na]
    9 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]
    1 frame