# Shoudln't rails be starting on 127.0.0.1?

**URL:** <https://www.ruby-forum.com/t/shoudlnt-rails-be-starting-on-127-0-0-1/118878>\
**Category:** Ruby\
**Created:** [October 31, 2007, 9:53pm UTC](https://www.ruby-forum.com/t/shoudlnt-rails-be-starting-on-127-0-0-1/118878 "2007-10-31T21:53:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 31, 2007, 9:53pm UTC](https://www.ruby-forum.com/t/shoudlnt-rails-be-starting-on-127-0-0-1/118878/1 "2007-10-31T21:53:56Z")

</div>

Hi,

I just installed the most recent version of ruby and rails on my  
Fedora Core 5 Linux system. For some reason, my server isn’t  
starting, but I noticed one line upon startup:

=\> Rails application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)

Shouldn’t rails be booting on 127.0.0.1 or localhost or whatever? I  
didn’t read anything about adjusting this setting on the rails  
download page, but you guys are the experts, so please tell me if this  
setting needs to change and how to do it.

Best, - Dave

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 1, 2007, 12:11am UTC](https://www.ruby-forum.com/t/shoudlnt-rails-be-starting-on-127-0-0-1/118878/2 "2007-11-01T00:11:19Z")

</div>

On Thu, Nov 01, 2007, removed\_email\_address@domain.invalid wrote:

> =\> Rails application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)
> 
> Shouldn’t rails be booting on 127.0.0.1 or localhost or whatever? I  
> didn’t read anything about adjusting this setting on the rails  
> download page, but you guys are the experts, so please tell me if this  
> setting needs to change and how to do it.

Shouldn’t matter. 0.0.0.0 means “I’m listening to everything regardless  
of what IP address it comes to”… more or less. If you can’t access  
your server, my guess is something else is broken.

That said, I think it’s possible to specify the IP address it should  
listen to, but you’ll need to look elsewhere to figure out how… I jsut  
don’t remember. script/server --help?

Ben

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 2, 2007, 7:25am UTC](https://www.ruby-forum.com/t/shoudlnt-rails-be-starting-on-127-0-0-1/118878/3 "2007-11-02T07:25:40Z")

</div>

Ben B. wrote:

> On Thu, Nov 01, 2007, removed\_email\_address@domain.invalid wrote:
> 
> > Shouldn’t rails be booting on 127.0.0.1 or localhost or whatever? I  
> > didn’t read anything about adjusting this setting on the rails  
> > download page, but you guys are the experts, so please tell me if this  
> > setting needs to change and how to do it.
> 
> Shouldn’t matter. 0.0.0.0 means “I’m listening to everything regardless  
> of what IP address it comes to”… more or less. If you can’t access  
> your server, my guess is something else is broken.

See also the footnote on page 34 of Agile Web D. with Rails.

Regards,
