com.ecwid.consul.transport.TransportException: java.net.ConnectException: Connection refused

  1. 0

    Deploy spring boot application war in tomcat

    Stack Overflow | 2 months ago | Khalisaran Saran
    com.ecwid.consul.transport.TransportException: java.net.ConnectException: Connection refused
  2. 0

    Socket connect exception saying connection refused

    Stack Overflow | 9 months ago | Rohan Singh Dhaka
    com.ecwid.consul.transport.TransportException: java.net.ConnectException: Connection refused
  3. 0

    Cloud Config does not work for a host different from localhost

    GitHub | 7 months ago | RoadRunner120485
    com.ecwid.consul.transport.TransportException: java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 147#191092777

    GitHub | 9 months ago | thangavaishnavi
    com.ecwid.consul.transport.TransportException: java.net.ConnectException: Connection refused: connect
  6. 0

    GitHub comment 4165#248611742

    GitHub | 2 months ago | agoncal
    com.ecwid.consul.transport.TransportException: java.net.ConnectException: Connection refused

  1. tvrmsmith 2 times, last 3 weeks ago
  2. mauritius 2 times, last 2 weeks ago
  3. tvrmsmith 1 times, last 1 month ago
  4. Nikolay Rybak 4 times, last 5 months ago
  5. jedcua 1 times, last 5 months ago
44 more registered users
47 unregistered visitors
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

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:579)
    6 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:120)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:179)
    3. org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328)
    4. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612)
    5. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
    6. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
    7. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
    8. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:220)
    9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164)
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139)
    10 frames
  4. com.ecwid.consul
    ConsulClient.getKVValues
    1. com.ecwid.consul.transport.AbstractHttpTransport.executeRequest(AbstractHttpTransport.java:74)
    2. com.ecwid.consul.transport.AbstractHttpTransport.makeGetRequest(AbstractHttpTransport.java:49)
    3. com.ecwid.consul.v1.ConsulRawClient.makeGetRequest(ConsulRawClient.java:81)
    4. com.ecwid.consul.v1.kv.KeyValueConsulClient.getKVValues(KeyValueConsulClient.java:150)
    5. com.ecwid.consul.v1.ConsulClient.getKVValues(ConsulClient.java:404)
    5 frames
  5. org.springframework.cloud
    PropertySourceBootstrapConfiguration.initialize
    1. org.springframework.cloud.consul.config.ConsulPropertySource.init(ConsulPropertySource.java:64)
    2. org.springframework.cloud.consul.config.ConsulPropertySourceLocator.create(ConsulPropertySourceLocator.java:134)
    3. org.springframework.cloud.consul.config.ConsulPropertySourceLocator.locate(ConsulPropertySourceLocator.java:113)
    4. org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89)
    4 frames
  6. Spring Boot
    SpringBootServletInitializer.onStartup
    1. org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:640)
    2. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:343)
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
    4. org.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:149)
    5. org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:129)
    6. org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:85)
    6 frames
  7. Spring
    SpringServletContainerInitializer.onStartup
    1. org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)
    1 frame
  8. Glassfish Core
    HostConfig$DeployWar.run
    1. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)
    2. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    6. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
    7. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
    7 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames