Skip to content

Commit

Permalink
Correct default for ip binding on webrick server #717
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Feb 27, 2005
1 parent 630638b commit ea26abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/bin/server
Expand Up @@ -22,7 +22,7 @@ ARGV.options do |opts|
"Default: 3000") { |OPTIONS[:port]| } "Default: 3000") { |OPTIONS[:port]| }
opts.on("-b", "--binding=ip", String, opts.on("-b", "--binding=ip", String,
"Binds Rails to the specified ip.", "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, opts.on("-i", "--index=controller", String,
"Specifies an index controller that requests for root will go to (instead of congratulations screen)." "Specifies an index controller that requests for root will go to (instead of congratulations screen)."
) { |OPTIONS[:index_controller]| } ) { |OPTIONS[:index_controller]| }
Expand Down

0 comments on commit ea26abe

Please sign in to comment.