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

GitHub | agoncal | 2 months ago
  1. 0

    GitHub comment 4165#248611742

    GitHub | 2 months ago | agoncal
    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

    Deploy spring boot application war in tomcat

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

    GitHub comment 147#191092777

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

  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:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    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:75)
    2. com.ecwid.consul.transport.AbstractHttpTransport.makeGetRequest(AbstractHttpTransport.java:50)
    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
    ConsulPropertySourceLocator$$FastClassBySpringCGLIB$$b35ebf8.invoke
    1. org.springframework.cloud.consul.config.ConsulPropertySource.init(ConsulPropertySource.java:64)
    2. org.springframework.cloud.consul.config.ConsulPropertySourceLocator.create(ConsulPropertySourceLocator.java:135)
    3. org.springframework.cloud.consul.config.ConsulPropertySourceLocator.locate(ConsulPropertySourceLocator.java:113)
    4. org.springframework.cloud.consul.config.ConsulPropertySourceLocator$$FastClassBySpringCGLIB$$b35ebf8.invoke(<generated>)
    4 frames
  6. Spring Core
    MethodProxy.invoke
    1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
    1 frame
  7. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    2 frames
  8. Spring Retry
    AnnotationAwareRetryOperationsInterceptor.invoke
    1. org.springframework.retry.interceptor.RetryOperationsInterceptor$1.doWithRetry(RetryOperationsInterceptor.java:74)
    2. org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:276)
    3. org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:157)
    4. org.springframework.retry.interceptor.RetryOperationsInterceptor.invoke(RetryOperationsInterceptor.java:101)
    5. org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor.invoke(AnnotationAwareRetryOperationsInterceptor.java:118)
    5 frames
  9. Spring AOP
    CglibAopProxy$DynamicAdvisedInterceptor.intercept
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    2. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
    2 frames
  10. org.springframework.cloud
    PropertySourceBootstrapConfiguration.initialize
    1. org.springframework.cloud.consul.config.ConsulPropertySourceLocator$$EnhancerBySpringCGLIB$$319f733c.locate(<generated>)
    2. org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89)
    2 frames
  11. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:633)
    2. org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:347)
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
    3 frames
  12. com.mycompany.myapp
    MoneApp.main
    1. com.mycompany.myapp.MoneApp.main(MoneApp.java:66)
    1 frame
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  14. org.springframework.boot
    RestartLauncher.run
    1. org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
    1 frame