Issues with localhost
See original GitHub issue- Insomnia Version: 6.3.2
- Operating System: Mac OS X 10.13.6
Details
After a recent Insomnia update (it happened in the background so I’m not exactly sure what my previous version was) calls to a server on localhost just return “Error: Couldn’t connect to server” now. Replacing localhost with 127.0.0.1 works, and using localhost in a corresponding curl command also works.
I realize there aren’t a lot of details with this issue, but hoping it can strike a chord. Is there any information I can provide or testing I can do?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Localhost Refused to Connect Error: 5 Confirmed Ways to Fix It
5 Methods to Solve the Localhost Refused to Connect Error · 1. Temporarily Disable Your Firewall · 2. Flush Your DNS · 3....
Read more >Localhost Refused To Connect (How To Troubleshoot)
1. Check Your Connection · 2. Turn Your Router Off And On · 3. Ensure The Website Is Available · 1. Purge Your...
Read more >How to Resolve MAMP's “Localhost Refused to Connect” Error ...
You can often resolve this problem by modifying your firewall settings to allow incoming connections for the port that MAMP is trying to...
Read more >How to Fix 'Localhost Refused to Connect' Error on Windows?
Change Apache Web Server Port in XAMPP or WAMP · Access Localhost by Using 127.0.0.1 · Restart LXSSManager Service (For Web Servers running...
Read more >Chrome Saying Localhost Refused to Connect, How to Fix the ...
How to Fix Localhost Refused to Connect Chrome? · Fix 1: Change Firewall Settings · Fix 2: Access Localhost by Using 127.0.0.1 ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I just went through to try and come up with some better steps to reproduce and now it’s not happening anymore. So obviously that’s good news! I had restarted my computer since originally reporting, it is almost certainly something on my end it seems. Closing this issue, sorry for the false report!
I swear I’m not crazy…😮
👋 Thanks for opening your first issue! If you’re reporting a 🐞 bug, please make sure you include steps to reproduce it. If you’re requesting a feature 🎁, please provide real use cases that would benefit. 👪
To help make this a smooth process, please be sure you have first read the contributing guidelines.