aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-02-27 17:13:55 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-02-27 17:13:55 +0000
commitea26abeed820d511a8127f4edf06060e3dc129dc (patch)
tree8bb6c6007eef55596e5a376dbae8813e856ce3dd /railties
parent630638b00e01d4046d439867a37c15cd037f6c00 (diff)
downloadrails-ea26abeed820d511a8127f4edf06060e3dc129dc.tar.gz
rails-ea26abeed820d511a8127f4edf06060e3dc129dc.tar.bz2
rails-ea26abeed820d511a8127f4edf06060e3dc129dc.zip
Correct default for ip binding on webrick server #717
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r--railties/bin/server2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/bin/server b/railties/bin/server
index ae0bc8deae..e672a47637 100644
--- a/railties/bin/server
+++ b/railties/bin/server
@@ -22,7 +22,7 @@ ARGV.options do |opts|
"Default: 3000") { |OPTIONS[:port]| }
opts.on("-b", "--binding=ip", String,
"Binds Rails to the specified ip.",
- "Default: 127.0.0.1") { |OPTIONS[:ip]| }
+ "Default: 0.0.0.0") { |OPTIONS[:ip]| }
opts.on("-i", "--index=controller", String,
"Specifies an index controller that requests for root will go to (instead of congratulations screen)."
) { |OPTIONS[:index_controller]| }