Commit d2c0533c authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Default client proxy endpoint to `127.0.0.1:8077`.

Do not override it in the example configuration file.

This was already the default in Docker-based clients.

The reason for `127.0.0.1` and not something less prone to clashes like
`127.7.2.1` (as we do in the injector) is that the client is expected to run
on many platforms (while we can assume GNU/Linux for the injector), and not
all of them support binding to addresses in `127.0.0.0/8` other than
`127.0.0.1` (e.g. macOS and other BSD-based systems).

Thus it becomes more reasonable to choose a less crowded port (8077 in this
case).
parent ad17fcaf
# Run ``client --help`` for help on available options.
open-file-limit = 4096
listen-on-tcp = 127.0.0.1:8080
......@@ -107,7 +107,9 @@ public:
("debug", "Enable debugging messages")
// Client options
("listen-on-tcp", po::value<string>(), "IP:PORT endpoint on which we'll listen")
("listen-on-tcp"
, po::value<string>()->default_value("127.0.0.1:8077")
, "HTTP proxy endpoint (in <IP>:<PORT> format)")
("front-end-ep"
, po::value<string>()->default_value("127.0.0.137:8081")
, "Front-end's endpoint (in <IP>:<PORT> format)")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment