summaryrefslogtreecommitdiff
path: root/docs/narr/startup.rst
diff options
context:
space:
mode:
authorMartin <martin.frlin@gmail.com>2016-12-06 10:43:22 +0100
committerMartin <martin.frlin@gmail.com>2016-12-06 10:49:38 +0100
commit1bf417e4c1b2865f44357a61ca16fadde310077e (patch)
treee7d90f46e5e1a35029912eb691a9d62d7a78bdac /docs/narr/startup.rst
parent968bebc0d1cbb6d85eb446b41c0f4560383c3022 (diff)
downloadpyramid-1bf417e4c1b2865f44357a61ca16fadde310077e.tar.gz
pyramid-1bf417e4c1b2865f44357a61ca16fadde310077e.tar.bz2
pyramid-1bf417e4c1b2865f44357a61ca16fadde310077e.zip
Changed 'host' and 'port' configuration to a new 'listen' style that is now supported by waitress server.
Diffstat (limited to 'docs/narr/startup.rst')
-rw-r--r--docs/narr/startup.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst
index 3e168eaea..b71cff57d 100644
--- a/docs/narr/startup.rst
+++ b/docs/narr/startup.rst
@@ -130,8 +130,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 (``host =
- 127.0.0.1``), on port number 6543 (``port = 6543``). The server code itself
+ egg:waitress#main``), and it will listen on all interfaces (``listen =
+ 127.0.0.1:6543``), 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.