Skip to content

Commit

Permalink
Set listenAddress in example to 127.0.0.1
Browse files Browse the repository at this point in the history
Docker for mac fails with the following if --publish is set to 127.0.0.0:

> bind: can't assign requested address.

Updating the example to be working out of the box.
  • Loading branch information
zegl authored Apr 22, 2020
1 parent e0b57a0 commit 42764dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/static/examples/config-with-port-mapping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ nodes:
hostPort: 80
# optional: set the bind address on the host
# 0.0.0.0 is the current default
listenAddress: "127.0.0.0"
listenAddress: "127.0.0.1"
# optional: set the protocol to one of TCP, UDP, SCTP.
# TCP is the default
protocol: TCP
protocol: TCP

0 comments on commit 42764dc

Please sign in to comment.