diff options
author | Zachary Scott <e@zzak.io> | 2014-11-07 00:38:58 -0800 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-11-07 00:38:58 -0800 |
commit | 6c399033be0d8917a9f766c9273fa90ba71091de (patch) | |
tree | e99351f6c5fa6f5afa4d1c3187ffff3d155eff48 /guides | |
parent | 888ea6bf4452971bdb32a92e854116c8cd053497 (diff) | |
parent | 066faa09e2636e75ddaa9b51e65a3a09c35ed732 (diff) | |
download | rails-6c399033be0d8917a9f766c9273fa90ba71091de.tar.gz rails-6c399033be0d8917a9f766c9273fa90ba71091de.tar.bz2 rails-6c399033be0d8917a9f766c9273fa90ba71091de.zip |
Merge pull request #17551 from y-yagi/fix_command_line_guide
[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` |