mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use 127.0.0.1 instead of hostname
in the "access the web app" section.
This commit is contained in:
parent
b4198de6bf
commit
056698b676
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ lookup the public-facing port which is NAT-ed store the private port used by the
|
|||
.. code-block:: bash
|
||||
|
||||
# install curl if necessary, then ...
|
||||
curl http://`hostname`:$WEB_PORT
|
||||
curl http://127.0.0.1:$WEB_PORT
|
||||
Hello world!
|
||||
|
||||
access the web app using curl. If everything worked as planned you should see the line "Hello world!" inside of your console.
|
||||
|
|
Loading…
Reference in a new issue