summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorAleph Melo <alephmelo@icloud.com>2017-04-16 16:50:45 -0300
committerAleph Melo <alephmelo@icloud.com>2017-04-16 16:50:45 -0300
commit6d120e5f740f3b9a3f9ffd52da5c748b2f06cbca (patch)
tree56cca8b8f43b2e37f0e2117361b5059ccaa365c5 /docs/narr
parent3dd3d06c610250f8c072f44548b9dbe5361f9af6 (diff)
downloadpyramid-6d120e5f740f3b9a3f9ffd52da5c748b2f06cbca.tar.gz
pyramid-6d120e5f740f3b9a3f9ffd52da5c748b2f06cbca.tar.bz2
pyramid-6d120e5f740f3b9a3f9ffd52da5c748b2f06cbca.zip
Fix #2927 - Change to listen = localhost:6543.
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/myproject/development.ini2
-rw-r--r--docs/narr/startup.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/myproject/development.ini b/docs/narr/myproject/development.ini
index 5d110805a..20a8a4868 100644
--- a/docs/narr/myproject/development.ini
+++ b/docs/narr/myproject/development.ini
@@ -24,7 +24,7 @@ pyramid.includes =
[server:main]
use = egg:waitress#main
-listen = 127.0.0.1:6543 [::1]:6543
+listen = localhost:6543
###
# logging configuration
diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst
index cf4612602..08747fa89 100644
--- a/docs/narr/startup.rst
+++ b/docs/narr/startup.rst
@@ -132,7 +132,7 @@ 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 on port 6543
- for both IPv4 and IPv6 (``listen = 127.0.0.1:6543 [::1]:6543``). The server
+ for both IPv4 and IPv6 (``listen = localhost: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.