summaryrefslogtreecommitdiff
path: root/docs/narr/startup.rst
diff options
context:
space:
mode:
authorMartin <martin.frlin@gmail.com>2016-12-09 12:46:33 +0100
committerMartin <martin.frlin@gmail.com>2016-12-09 12:46:33 +0100
commitfb17a37442224961e4bd3d797945d130221acfb9 (patch)
tree2587c3af710ff854e443051196528840ed24d76a /docs/narr/startup.rst
parent3588e811df0efe16642fee427a2988af9f4e4b6e (diff)
downloadpyramid-fb17a37442224961e4bd3d797945d130221acfb9.tar.gz
pyramid-fb17a37442224961e4bd3d797945d130221acfb9.tar.bz2
pyramid-fb17a37442224961e4bd3d797945d130221acfb9.zip
Added configuration for ipv6 in .ini files.
Diffstat (limited to 'docs/narr/startup.rst')
-rw-r--r--docs/narr/startup.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst
index b71cff57d..691a56da6 100644
--- a/docs/narr/startup.rst
+++ b/docs/narr/startup.rst
@@ -10,7 +10,8 @@ you'll see something much like this show up on the console:
$ $VENV/bin/pserve development.ini
Starting server in PID 16305.
- serving on http://127.0.0.1:6543
+ Serving on http://127.0.0.1:6543
+ Serving on http://[::1]:6543
This chapter explains what happens between the time you press the "Return" key
on your keyboard after typing ``pserve development.ini`` and the time the line
@@ -131,7 +132,8 @@ Here's a high-level time-ordered overview of what happens when you press
#. ``pserve`` starts the WSGI *server* defined within the ``[server:main]``
section. In our case, this is the Waitress server (``use =
egg:waitress#main``), and it will listen on all interfaces (``listen =
- 127.0.0.1:6543``), on port number 6543. The server code itself
+ 127.0.0.1:6543 [::1]:6543``, means that it will listen on ipv4 and ipv6),
+ on port number 6543. The server code itself
is what prints ``serving on http://127.0.0.1:6543``. The server serves the
application, and the application is running, waiting to receive requests.