Skip to content

Commit 066faa0

Browse files
committed
[ci skip] modify default host in command line guide
1 parent 888ea6b commit 066faa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/command_line.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ With no further work, `rails server` will run our new shiny Rails app:
6161
$ cd commandsapp
6262
$ bin/rails server
6363
=> Booting WEBrick
64-
=> Rails 4.2.0 application starting in development on http://0.0.0.0:3000
64+
=> Rails 4.2.0 application starting in development on http://localhost:3000
6565
=> Call with -d to detach
6666
=> Ctrl-C to shutdown server
6767
[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
7979
$ bin/rails server -e production -p 4000
8080
```
8181

82-
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.
82+
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.
8383

8484
### `rails generate`
8585

0 commit comments

Comments
 (0)