Please Help! getaddrinfo: Name or service not known (SocketError)

ruby

#1

Hello,

I run rails s -p $PORT -b $IP and receive this error

/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/socket.rb:231:in `getaddrinfo': getaddrinfo: Name or service not known (SocketError)

How can I resolve this?