diff --git a/README.md b/README.md index b3c888d5..5c1c3023 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ Now will work. And, more interestingly, host2# ping 10.0.1.1 - host2# echo 'Hello, world.' | nc -u 10.0.1.1 1122 + host2# echo 'Hello, world.' | nc -u 10.0.1.1 4422 will work too, which is interacting with a container that resides on $HOST1. @@ -228,7 +228,7 @@ container with IP 10.0.1.1. With the above in place, we can connect to our 'nc' service from anywhere with - echo 'Hello, world.' | nc -u $HOST2 4422 + echo 'Hello, world.' | nc -u $HOST2 2211 (NB: due to the way routing is handled in the Linux kernel, this won't work when run *on* $HOST2.)