# Why would Webrick use 0.0.0.0:3000 instead of 127.0.0.1:3000

**URL:** <https://www.ruby-forum.com/t/why-would-webrick-use-0-0-0-0-3000-instead-of-127-0-0-1-3000/71040>\
**Category:** Ruby\
**Created:** [December 17, 2005, 7:21pm UTC](https://www.ruby-forum.com/t/why-would-webrick-use-0-0-0-0-3000-instead-of-127-0-0-1-3000/71040 "2005-12-17T19:21:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![curthibbs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ac91a4/32.png) [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Post date:** [December 17, 2005, 7:21pm UTC](https://www.ruby-forum.com/t/why-would-webrick-use-0-0-0-0-3000-instead-of-127-0-0-1-3000/71040/1 "2005-12-17T19:21:57Z")

</div>

Someone working through my Rolling with Ruby on Rails tutorial ran into  
this. Does anyone know what could cause this? I pasted the text of his  
post  
below.

Curt

I am using Instant Rails which comes with Rails 1.0, WEBrick 1.3.1 and  
Ruby  
1.8.2 and I ran the WEBrick server and it starts on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
and  
not [http://127.0.0.1:3000](http://127.0.0.1:3000). However, when I tried to connect to  
[http://0.0.0.0:3000](http://0.0.0.0:3000) using my browser, a dialog pops up telling me that  
“the  
connection was refused”. Any suggestions on how to solve this problem?.

---

<div class="post-metadata">

**Author:** ![curthibbs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ac91a4/32.png) [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Post date:** [December 18, 2005, 4:52pm UTC](https://www.ruby-forum.com/t/why-would-webrick-use-0-0-0-0-3000-instead-of-127-0-0-1-3000/71040/2 "2005-12-18T16:52:09Z")

</div>

netstat and similar utilities will list the address as 0.0.0.0 when your  
application listens for connections on _any_ network interface. 0.0.0.0  
is  
not a real address so you can’t connect to it, but you should be able to  
connect to 127.0.0.1 and any other IPs that you have assigned to network  
interfaces.

Perhaps better explanation:

> **[Microsoft Support](https://support.microsoft.com/en-US)**
>
> Microsoft support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft 365, Windows, Surface, and more.

Cheers,  
Olof
