Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

WEBCONSOLE_PORT setting now defaults to 6080

Pablo Hoffman8ec7c9e01c50
diff --git a/docs/ref/settings.rst b/docs/ref/settings.rst
index 1aa387e88..287afc4e0 100644
--- a/docs/ref/settings.rst
+++ b/docs/ref/settings.rst
@@ -871,8 +871,9 @@ TELNETCONSOLE_PORT
Default: ``6023``
-The port to use for the telnet console. If ``None``, a dynamically assigned
-port is used.
+The port to use for the telnet console. If set to ``None`` or ``0``, a
+dynamically assigned port is used. For more info see
+:ref:`topics-telnetconsole`.
.. setting:: TEMPLATES_DIR
@@ -930,7 +931,8 @@ the log is sent to standard scrapy log.
WEBCONSOLE_PORT
---------------
-Default: ``None``
+Default: ``6080``
+
+The port to use for the web console. If set to ``None`` or ``0``, a dynamically
+assigned port is used. For more info see :ref:`topics-webconsole`.
-The port to use for the web console. If unset, a dynamically assigned port is
-used.
diff --git a/scrapy/conf/default_settings.py b/scrapy/conf/default_settings.py
index 020fcb4c8..59947f79f 100644
--- a/scrapy/conf/default_settings.py
+++ b/scrapy/conf/default_settings.py
@@ -200,7 +200,7 @@ TELNETCONSOLE_ENABLED = 1
TELNETCONSOLE_PORT = 6023 # if None, uses a dynamic port
WEBCONSOLE_ENABLED = True
-WEBCONSOLE_PORT = None
+WEBCONSOLE_PORT = 6080
WEBCONSOLE_LOGFILE = None
# this setting is used by the cluster master to pass additional settings to