javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:6161. Reason: java.net.ConnectException: Connection refused: connect

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by NeplatnyUdaj
, 2 years ago
Could not connect to broker URL: http://localhost:8888/myapp/servlet/ActiveMQServlet. Reason: java.io.IOException: Failed to perform GET on: http://localhost:8888/myapp/servlet/ActiveMQServlet as response was: Not Found
via nabble.com by Unknown author, 2 years ago
Could not connect to broker URL: tcp://0.0.0.0:61616. Reason: java.net.ConnectException: Connection refused: connect
via GitHub by mjames-upc
, 2 years ago
Could not connect to broker URL: tcp://localhost:8813. Reason: java.net.ConnectException: Connection refused
via Stack Overflow by Suraj HK
, 1 year ago
Could not connect to broker URL: ssl://<IP>:61617. Reason: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:6161. Reason: java.net.ConnectException: Connection refused: connect
at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:280)
at org.pentaho.di.trans.steps.jms.d.init(SourceFile:65)
at org.pentaho.di.trans.steps.jms.f.init(SourceFile:144)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
11 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.