Switch default to localhost. Fixes #107

This commit is contained in:
Barak Michener 2014-08-20 15:56:36 -04:00
parent 2eb25968c2
commit b4ef86145d
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ All command line flags take precedence over the configuration file.
#### **`listen_host`**
* Type: String
* Default: "0.0.0.0"
* Default: "127.0.0.1"
The hostname or IP address for Cayley's HTTP server to listen on. Defaults to all interfaces.

View file

@ -62,7 +62,7 @@ Just as before:
And you'll see a message not unlike
```bash
Cayley now listening on 0.0.0.0:64210
Cayley now listening on 127.0.0.1:64210
```
If you visit that address (often, [http://localhost:64210](http://localhost:64210)) you'll see the full web interface and also have a graph ready to serve queries via the [HTTP API](/docs/HTTP.md)