org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused: connect

Stack Overflow | Saurabh Kumar | 3 months ago
  1. 0

    Getting expection on running spring boot turbine stream

    Stack Overflow | 3 months ago | Saurabh Kumar
    org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused: connect
  2. 0

    SpringCloudStream - AggregateApplicationBuilder Expects Broker

    Stack Overflow | 2 months ago | Karthik Palanivelu
    org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused
  3. 0

    Error in making a socket connection

    Stack Overflow | 5 years ago | vishalrmakwana
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    rabbitmq初学之连接测试 - lwkcn的专栏 - 博客频道 - CSDN.NET

    csdn.net | 1 year ago
    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)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:589)
    8 frames
  3. RabbitMQ Java Client
    ConnectionFactory.newConnection
    1. com.rabbitmq.client.impl.FrameHandlerFactory.create(FrameHandlerFactory.java:32)
    2. com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:811)
    3. com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:725)
    3 frames
  4. Spring RabbitMQ Support
    RabbitAdmin.declareExchange
    1. org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:296)
    2. org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:547)
    3. org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils$1.createConnection(ConnectionFactoryUtils.java:90)
    4. org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.doGetTransactionalResourceHolder(ConnectionFactoryUtils.java:140)
    5. org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:76)
    6. org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:1374)
    7. org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:1367)
    8. org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:1343)
    9. org.springframework.amqp.rabbit.core.RabbitAdmin.declareExchange(RabbitAdmin.java:156)
    9 frames
  5. org.springframework.cloud
    InputBindingLifecycle.start
    1. org.springframework.cloud.stream.binder.rabbit.RabbitMessageChannelBinder.declareExchange(RabbitMessageChannelBinder.java:493)
    2. org.springframework.cloud.stream.binder.rabbit.RabbitMessageChannelBinder.doBindConsumer(RabbitMessageChannelBinder.java:227)
    3. org.springframework.cloud.stream.binder.rabbit.RabbitMessageChannelBinder.doBindConsumer(RabbitMessageChannelBinder.java:103)
    4. org.springframework.cloud.stream.binder.AbstractBinder.bindConsumer(AbstractBinder.java:179)
    5. org.springframework.cloud.stream.binding.ChannelBindingService.bindConsumer(ChannelBindingService.java:93)
    6. org.springframework.cloud.stream.binding.BindableProxyFactory.bindInputs(BindableProxyFactory.java:188)
    7. org.springframework.cloud.stream.binding.InputBindingLifecycle.start(InputBindingLifecycle.java:55)
    7 frames
  6. Spring Context
    AbstractApplicationContext.start
    1. org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173)
    2. org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)
    3. org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346)
    4. org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149)
    5. org.springframework.context.support.DefaultLifecycleProcessor.start(DefaultLifecycleProcessor.java:91)
    6. org.springframework.context.support.AbstractApplicationContext.start(AbstractApplicationContext.java:1301)
    6 frames
  7. org.springframework.cloud
    OutputBindingLifecycle.start
    1. org.springframework.cloud.stream.binding.OutputBindingLifecycle.start(OutputBindingLifecycle.java:65)
    1 frame
  8. Spring Context
    AbstractApplicationContext.finishRefresh
    1. org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173)
    2. org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)
    3. org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346)
    4. org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149)
    5. org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112)
    6. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:874)
    6 frames
  9. Spring Boot
    EmbeddedWebApplicationContext.finishRefresh
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144)
    1 frame
  10. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)
    1 frame
  11. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
    3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
    4 frames
  12. de.bingo.core
    AbstractApplication.runApplicationInternal
    1. de.bingo.core.application.AbstractApplication.runApplicationInternal(AbstractApplication.java:60)
    1 frame
  13. de.bingo.generator
    GeneratorAbstractApplication.runApplication
    1. de.bingo.generator.application.GeneratorAbstractApplication.runApplication(GeneratorAbstractApplication.java:57)
    1 frame
  14. de.bingo.monitoring
    MonitoringApplication.main
    1. de.bingo.monitoring.application.MonitoringApplication.main(MonitoringApplication.java:45)
    1 frame