docs/narr/project.rst | ●●●●● patch | view | raw | blame | history | |
docs/narr/startup.rst | ●●●●● patch | view | raw | blame | history |
docs/narr/project.rst
@@ -317,8 +317,8 @@ be able to access the application via ``http://127.0.0.1:6543/`` as well as via ``http://192.168.1.50:6543/``. However, *other people* on other computers on the same network will also be able to visit your Pyramid application in their browser by visiting ``http://192.168.1.50:6543/``. Same holds true if you use ipv6. ``[::]`` means the same as ``0.0.0.0`` but for ipv6 protocol. browser by visiting ``http://192.168.1.50:6543/``. The same holds true if you use IPv6. ``[::]`` means the same as ``0.0.0.0`` but for IPv6 protocol. You can change the port on which the server runs on by changing the same portion of the ``development.ini`` file. For example, you can change the docs/narr/startup.rst
@@ -131,11 +131,10 @@ #. ``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 [::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. 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 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. .. seealso:: Logging configuration is described in the :ref:`logging_chapter` chapter.