# How to fix Error: connect ECONNREFUSED 127.0.0.1:8080

**URL:** <https://community.postman.com/t/how-to-fix-error-connect-econnrefused-127-0-0-1-8080/22245>\
**Category:** Help Hub\
**Tags:** newman-project, tests\
**Created:** [April 4, 2021, 3:50am UTC](https://community.postman.com/t/how-to-fix-error-connect-econnrefused-127-0-0-1-8080/22245 "2021-04-04T03:50:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lurrah30](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@lurrah30](https://community.postman.com/u/lurrah30)\
**Post date:** [April 4, 2021, 3:50am UTC](https://community.postman.com/t/how-to-fix-error-connect-econnrefused-127-0-0-1-8080/22245/1 "2021-04-04T03:50:41Z")

</div>

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

Error: connect ECONNREFUSED 127.0.0.1:8080  
▶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 ?

---

<div class="post-metadata">

**Author:** ![praveendvd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/praveendvd/32/6796_2.png) [@praveendvd](https://community.postman.com/u/praveendvd)\
**Post date:** [April 4, 2021, 7:39am UTC](https://community.postman.com/t/how-to-fix-error-connect-econnrefused-127-0-0-1-8080/22245/2 "2021-04-04T07:39:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![aremufemmy02](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@aremufemmy02](https://community.postman.com/u/aremufemmy02)\
**Post date:** [April 29, 2021, 2:07am UTC](https://community.postman.com/t/how-to-fix-error-connect-econnrefused-127-0-0-1-8080/22245/3 "2021-04-29T02:07:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![science-astronaut-42](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@science-astronaut-42](https://community.postman.com/u/science-astronaut-42)\
**Post date:** [July 21, 2022, 7:33am UTC](https://community.postman.com/t/how-to-fix-error-connect-econnrefused-127-0-0-1-8080/22245/4 "2022-07-21T07:33:41Z")

</div>

how do i get a service to be running then?

---

<div class="post-metadata">

**Author:** ![abdiel507](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@abdiel507](https://community.postman.com/u/abdiel507)\
**Post date:** [January 31, 2023, 7:58pm UTC](https://community.postman.com/t/how-to-fix-error-connect-econnrefused-127-0-0-1-8080/22245/5 "2023-01-31T19:58:45Z")

</div>

Just leave your localhost:8080 running. In other words, do not close your port (your app).
