Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed default IP binding for WEBrick from 127.0.0.1 to 0.0.0.0 so t…

…hat 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
  • Loading branch information...
commit df99b68f57230a3593488a60e550ff5ce28e8248 1 parent e58f267
@dhh dhh authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  railties/CHANGELOG
  2. +1 −1  railties/bin/server
View
2  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:
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.