diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-23 12:26:25 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-23 12:26:25 +0000 |
commit | df99b68f57230a3593488a60e550ff5ce28e8248 (patch) | |
tree | 955b57964199f6526875ea3ddb0a2b88c726922d | |
parent | e58f2675dfdc1a3e3ae6d59456ec2297996598d5 (diff) | |
download | rails-df99b68f57230a3593488a60e550ff5ce28e8248.tar.gz rails-df99b68f57230a3593488a60e550ff5ce28e8248.tar.bz2 rails-df99b68f57230a3593488a60e550ff5ce28e8248.zip |
Changed default IP binding for WEBrick from 127.0.0.1 to 0.0.0.0 so that the server is accessible both locally and remotely #696 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/bin/server | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 6b08682040..678d5cd928 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Changed default IP binding for WEBrick from 127.0.0.1 to 0.0.0.0 so that the server is accessible both locally and remotely #696 [Marcel] + * Fixed that script/server -d was broken so daemon mode couldn't be used #687 [Nicholas Seckar] * Upgraded to breakpoint 92 which fixes: diff --git a/railties/bin/server b/railties/bin/server index 2c0cfdfa8f..ae0bc8deae 100644 --- a/railties/bin/server +++ b/railties/bin/server @@ -5,7 +5,7 @@ require 'optparse' OPTIONS = { :port => 3000, - :ip => "127.0.0.1", + :ip => "0.0.0.0", :environment => "development", :server_root => File.expand_path(File.dirname(__FILE__) + "/../public/"), :server_type => WEBrick::SimpleServer |