diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2014-11-07 17:34:15 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2014-11-07 17:34:15 +0900 |
commit | 066faa09e2636e75ddaa9b51e65a3a09c35ed732 (patch) | |
tree | e99351f6c5fa6f5afa4d1c3187ffff3d155eff48 /guides | |
parent | 888ea6bf4452971bdb32a92e854116c8cd053497 (diff) | |
download | rails-066faa09e2636e75ddaa9b51e65a3a09c35ed732.tar.gz rails-066faa09e2636e75ddaa9b51e65a3a09c35ed732.tar.bz2 rails-066faa09e2636e75ddaa9b51e65a3a09c35ed732.zip |
[ci skip] modify default host in command line guide
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/command_line.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/command_line.md b/guides/source/command_line.md index e065d56168..d113632bea 100644 --- a/guides/source/command_line.md +++ b/guides/source/command_line.md @@ -61,7 +61,7 @@ With no further work, `rails server` will run our new shiny Rails app: $ cd commandsapp $ bin/rails server => Booting WEBrick -=> Rails 4.2.0 application starting in development on http://0.0.0.0:3000 +=> Rails 4.2.0 application starting in development on http://localhost:3000 => Call with -d to detach => Ctrl-C to shutdown server [2013-08-07 02:00:01] INFO WEBrick 1.3.1 @@ -79,7 +79,7 @@ The server can be run on a different port using the `-p` option. The default dev $ bin/rails server -e production -p 4000 ``` -The `-b` option binds Rails to the specified IP, by default it is 0.0.0.0. You can run a server as a daemon by passing a `-d` option. +The `-b` option binds Rails to the specified IP, by default it is localhost. You can run a server as a daemon by passing a `-d` option. ### `rails generate` |