rails server cannot start; getaddrinfo: nodename nor servname provided, or not known (SocketError)

后端 未结 4 1896
死守一世寂寞
死守一世寂寞 2020-12-16 06:56

I have not found a solution to the problem, however someone did already ask about the same problem a few days ago - (Rails Server Keeps Exiting (SocketError))

After

4条回答
  •  无人及你
    2020-12-16 07:37

    For any future users who run into this issue I was able to solve it by adding the following at the end of my private/etc/hosts file.

    127.0.0.1 YOURNAME-MacBook-Pro.local

    Update YOURNAME-MacBook-Pro to whatever the name of your machine is and hopefully you'll be all set.

提交回复
热议问题