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

后端 未结 4 1884
死守一世寂寞
死守一世寂寞 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:42

    I had a similar problem with Redis in a rails environment. I added the port number and "Redis" to my /private/etc/hosts file on my mac, and it solved the error. Say your port number is "1234", you would add: 1234 redis. In the case of localhost, you would add: 127.0.0.1 localhost. I hope this provides at least some clues to your particular issue.

提交回复
热议问题