question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: connect ECONNREFUSED 127.0.0.1:80

See original GitHub issue

After update to latest vs code stable version (1.19.0), Live Server stop working and give the following error when open browser:

Error: connect ECONNREFUSED 127.0.0.1:80
at Object.exports._errnoException (util.js:1050:11)
at exports._exceptionWithHostPort (util.js:1073:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

Please help me. Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
selvioletcommented, Jan 9, 2018

Hi,I’m just encountering the same Error in vscode’s extension(jupyter),NOT this extension, and I finally solved this problem.You can reference the follow steps i used:

  1. Reinstall the extension
  2. open the 'hosts’ file,which located in ‘C:\Windows\System32\drivers\etc’,and add a sentence like this: 127.0.0.1 http://localhost then save it .

Thanks.

0reactions
jagger2048commented, Dec 8, 2021

Hi, you can simply copy the hosts file to your desktop, edit it and update it. Then copy it from the desktop to the original location, overwriting the source file and thus circumventing the file permissions issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: connect ECONNREFUSED 127.0.0.1:80 - Postman
It looks like you're sending a request to localhost:3000 , but your Proxy settings seem to be set to 127.0.0.1: 8080 Is your...
Read more >
api - Postman connect ECONNREFUSED 127.0.0.1:8080
ECONNREFUSED (Connection refused): No connection could be made because the target machine actively refused it. This usually results from trying ...
Read more >
Error: connect ECONNREFUSED 127.0.0.1:8080 | POSTMAN
Error : connect ECONNREFUSED 127.0.0.1:8080 | POSTMAN. 6.8K views 5 months ago. Knowledge Flavours Technical. Knowledge Flavours Technical.
Read more >
Axios returns ECONNREFUSED 127.0.0.1:80 but port is set to ...
I am using docker... But I get the error Error: connect ECONNREFUSED while connecting to my API... Any suggestions for this issue?
Read more >
Connect ECONNREFUSED 127.0.0.1:80 - Node
it was the index folder I have just named it app. However, I have figured out where the error was it just a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found