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

Samebug tips

  1. ,

    Check if your MongoDB is available.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via Google Groups by Jiří Kolb, 1 year ago
Could not launch AMQP consumer.
java.net.ConnectException: Connection 
refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at com.rabbitmq.client.impl.FrameHandlerFactory.create(FrameHandlerFactory.java:47)	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:822)	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:778)	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:868)	at org.graylog2.inputs.transports.AmqpConsumer.connect(AmqpConsumer.java:176)	at org.graylog2.inputs.transports.AmqpConsumer.run(AmqpConsumer.java:108)	at org.graylog2.inputs.transports.AmqpTransport.doLaunch(AmqpTransport.java:176)	at org.graylog2.plugin.inputs.transports.ThrottleableTransport.launch(ThrottleableTransport.java:75)	at org.graylog2.plugin.inputs.MessageInput.launch(MessageInput.java:153)	at org.graylog2.shared.inputs.InputLauncher$1.run(InputLauncher.java:84)	at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)