connect ehostunreach 0.0.31.153:80
See original GitHub issueHi, I have a project with restify that sends data to an api with axios. When I start both apis locally the axios shows this message
{ Error: connect EHOSTUNREACH 0.0.31.153:80 - Local (192.168.2.112:64676)
at Object._errnoException (util.js:1024:11)
at _exceptionWithHostPort (util.js:1046:20)
at internalConnect (net.js:971:16)
at GetAddrInfoReqWrap.emitLookup [as callback] (net.js:1106:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:10)
code: 'EHOSTUNREACH',
errno: 'EHOSTUNREACH',
syscall: 'connect',
address: '0.0.31.153',
port: 80
I noticed that this post #1228 is similar to mine, but it’s closed. How do you solve this?
environment
os: macOS node: v8.9.3 npm: 5.5.1 axios: 0.18.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
axios request get connect EHOSTUNREACH Error. response ...
I believe this is because Axios by default assumes that you're using the same domian that it is installed on using a relative...
Read more >Help for "Error: connect EHOSTUNREACH" - Reddit
The connection failed because the underlying protocol software could not find a route to the designated target. Double check your ip-address and ...
Read more >connect EHOSTUNREACH when sending requests to my fly.io ...
Hi. I have a NodeJS app hosted on fly.io. The app consists of two sub-apps. One is a websocket server listening on port...
Read more >mzabriskie/axios - Gitter
Error: connect EHOSTUNREACH 0.0.11.184:80 - Local (192.168.1.110:49855) service-ca | at Object._errnoException (util.js:1024:11) service-ca | at ...
Read more >how use app service - Microsoft Q&A
And I keep getting SSH CONNECTION CLOSE-Error: connect EHOSTUNREACH ... ECONNREFUSED 172.16.1.2:2222Error: connect EHOSTUNREACH 172.16.1.2:2222 Happen.
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 FreeTop 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
Top GitHub Comments
so just request http:// 0.0.0.0:1337/your/path then url will be right
This error is also fired when you write just the IP @ without the protocol. Even with 127.0.0.1 you should add http://. Hope that was helpful .