Webrick with netbios alias not working


I added a WINS alias in samba (netbios aliases = foo-bar), but my rails
app only works if I use the IP address.

WEBrick starts fine, but when I goto http://foo-bar:3000, I get the
following message:

We’re sorry, but something went wrong.
We’ve been notified about this issue and we’ll take a look at it

When I goto, it works fine.

The other windows machines on the network can ping ‘foo-bar’…

Any ideas?