java.net.ConnectException: Failed to connect to /127.0.0.1:3000

Stack Overflow | zero_coding | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 102#238796867

    GitHub | 7 months ago | GuillaumeCisco
    com.pokegoapi.exceptions.RemoteServerException: Network Request failed to fetch tokenId
  2. 0

    GitHub comment 443#239597710

    GitHub | 7 months ago | balamurugana
    java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:42350
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unable to login or signup

    GitHub | 3 months ago | ynagarjuna1995
    java.net.ConnectException: Failed to connect to localhost/127.0.0.1:9080
  5. 0

    GitHub comment 217#244031295

    GitHub | 7 months ago | weidongjian
    java.net.ConnectException: Failed to connect to /115.231.105.166:80
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

    Failed to connect to /127.0.0.1:3000

    at okhttp3.internal.connection.RealConnection.connectSocket()
  2. okhttp3.internal.connection
    ConnectInterceptor.intercept
    1. okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:189)
    2. okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:173)
    3. okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)
    4. okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:193)
    5. okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:129)
    6. okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:98)
    7. okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    7 frames
  3. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    2 frames
  4. okhttp3.internal.cache
    CacheInterceptor.intercept
    1. okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:109)
    1 frame
  5. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    3. okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    4. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    5. okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:124)
    6. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    7. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    7 frames
  6. okhttp3
    RealCall.execute
    1. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170)
    2. okhttp3.RealCall.execute(RealCall.java:60)
    2 frames
  7. com.cloudfirmation.inspector
    PdfControllerTest.IsPdfContentRequestValid_StreamValidPdfContent_ExpectJsonSuccess
    1. com.cloudfirmation.inspector.controller.PdfControllerTest.IsPdfContentRequestValid_StreamValidPdfContent_ExpectJsonSuccess(PdfControllerTest.java:36)
    1 frame
  8. 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
  9. TestNG
    RemoteTestNGStarter.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:100)
    2. org.testng.internal.Invoker.invokeMethod(Invoker.java:646)
    3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:811)
    4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1129)
    5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
    7. org.testng.TestRunner.privateRun(TestRunner.java:746)
    8. org.testng.TestRunner.run(TestRunner.java:600)
    9. org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
    10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
    11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
    12. org.testng.SuiteRunner.run(SuiteRunner.java:268)
    13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1264)
    16. org.testng.TestNG.runSuitesLocally(TestNG.java:1189)
    17. org.testng.TestNG.runSuites(TestNG.java:1104)
    18. org.testng.TestNG.run(TestNG.java:1076)
    19. org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
    20. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:124)
    20 frames
  10. 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
  11. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
    1 frame