# Webrick with netbios alias not working

**URL:** <https://www.ruby-forum.com/t/webrick-with-netbios-alias-not-working/91035>\
**Category:** Rails\
**Created:** [April 3, 2007, 11:43pm UTC](https://www.ruby-forum.com/t/webrick-with-netbios-alias-not-working/91035 "2007-04-03T23:43:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@dan](https://www.ruby-forum.com/u/dan)\
**Post date:** [April 3, 2007, 11:43pm UTC](https://www.ruby-forum.com/t/webrick-with-netbios-alias-not-working/91035/1 "2007-04-03T23:43:21Z")

</div>

Hi,

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](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  
shortly.

When I goto [http://192.168.1.200:3000](http://192.168.1.200:3000), it works fine.

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

Any ideas?

Thanks,  
Dan
