Explorar o código

Install curl; nix stray backslash; use proper IP address

Eric Hanchrow %!s(int64=12) %!d(string=hai) anos
pai
achega
3a9ef5f9bb
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      docs/sources/examples/python_web_app.rst

+ 2 - 1
docs/sources/examples/python_web_app.rst

@@ -70,7 +70,8 @@ lookup the public-facing port which is NAT-ed store the private port used by the
 
 
 .. code-block:: bash
 .. code-block:: bash
 
 
-    curl \http://`hostname`:$WEB_PORT
+    sudo aptitude install curl
+    curl http://127.0.0.1:$WEB_PORT
       Hello world!
       Hello world!
 
 
 access the web app using curl. If everything worked as planned you should see the line "Hello world!" inside of your console.
 access the web app using curl. If everything worked as planned you should see the line "Hello world!" inside of your console.