How to fix Error: connect ECONNREFUSED 127.0.0.1:8080

hello i’ve got Error: connect ECONNREFUSED 127.0.0.1:8080

Error: connect ECONNREFUSED 127.0.0.1:8080
:arrow_forward:Request Headers
User-Agent: PostmanRuntime/7.26.10
Accept: /
Postman-Token: 6e3225f7-7f50-42da-8ff7-4c9aa1c878fd
Host: localhost:8080
Accept-Encoding: gzip, deflate, br
Connection: keep-alive

anyone know how to fix this ?

1 Like

It means no service is running on port 8080 , make sure your service is up and running properly and available

1 Like

Sorry, I do have this same challenge and this answer didn’t really change anything for me. I am running a spring boot application and my service is running perfectly saying “Tomcat initialized with port(s): 8080 (HTTP)” however postman still gives me the same error

Error: connect ECONNREFUSED 127.0.0.1:8080
Request Headers
User-Agent: PostmanRuntime/7.26.8
Accept: /
Cache-Control: no-cache
Postman-Token: 67566f2d-fa97-414e-8960-f425bbfcf5d0
Host: localhost:8080
Accept-Encoding: gzip, deflate, be

PLEASE Just curious to know if you have gotten a solution to it yet.