Author: Jason White [github@jasonwhite.io]
Committer: GitHub [noreply@github.com] Mon, 26 Sep 2022 19:10:26 +0000
Hash: 040fa6de0fc30b44bde27281fcd5469e88078e9c
Timestamp: Mon, 26 Sep 2022 19:10:26 +0000 (2 years ago)

+2 -0 +/-1 browse
Clarify usage of `--host localhost:8080`
1diff --git a/README.md b/README.md
2index 110cfee..442558b 100644
3--- a/README.md
4+++ b/README.md
5 @@ -89,6 +89,8 @@ cargo run -- \
6 **Note**: Always use a different S3 bucket, cache directory, and encryption key
7 than what you use in your production environment.
8
9+ **Note**: *This server may not be accessible from other machines.* Specifying `--host localhost:8080` will often bind the server to an internal-only network interface (i.e., if `localhost` resolves to `127.0.0.1` or `[::1]`). Thus, to make the server accessible from the outside world, specify `--host 0.0.0.0:8080` or just `--port 8080` (the default IP the server will bind to is `0.0.0.0`). See https://github.com/jasonwhite/rudolfs/issues/38#issuecomment-973721511 for more information.
10+
11 ### Production
12
13 To run in a production environment, it is easiest to use `docker-compose`: