Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Localhost Can't assign requested address

I use MacOS 10.14.6 and few days ago I faced with a problem on my computer with localhost. Rubymine can't connect to database with an error "java.net.NoRouteToHostException: Can't assign requested address (Address not available).". Also when I run puma server on 0.0.0.0:3000, browser can't open page on this address, and when I run server on 127.0.0.1:3000, browser can't open page on this address too, but can open on localhost:3000. I ran ping and got this output:

PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
Request timeout for icmp_seq 0
ping: sendto: Can't assign requested address
Request timeout for icmp_seq 1
ping: sendto: Can't assign requested address
Request timeout for icmp_seq 2
ping: sendto: Can't assign requested address
Request timeout for icmp_seq 3
^C
--- 127.0.0.1 ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss```
like image 314
Okatawa Avatar asked Oct 18 '25 18:10

Okatawa


1 Answers

WARP was the cause of the problem. Issue started after disabling the app. Disabling and reboot or enabling the app resolved the issue.

like image 83
Okatawa Avatar answered Oct 21 '25 08:10

Okatawa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!