Scrapy, a fast high-level web crawling & scraping framework for Python.
Bind telnet console and webservice to 127.0.0.1 by default
Alexey Bezhan89159779d0a5
diff --git a/docs/topics/telnetconsole.rst b/docs/topics/telnetconsole.rstindex 7677ec462..267e6e1d8 100644--- a/docs/topics/telnetconsole.rst+++ b/docs/topics/telnetconsole.rst@@ -156,7 +156,7 @@ dynamically assigned port is used.TELNETCONSOLE_HOST-------------------Default: ``'0.0.0.0'``+Default: ``'127.0.0.1'``The interface the telnet console should listen ondiff --git a/docs/topics/webservice.rst b/docs/topics/webservice.rstindex 6c4c8ac8b..ce85b5e48 100644--- a/docs/topics/webservice.rst+++ b/docs/topics/webservice.rst@@ -141,7 +141,7 @@ dynamically assigned port is used.WEBSERVICE_HOST----------------Default: ``'0.0.0.0'``+Default: ``'127.0.0.1'``The interface the web service should listen ondiff --git a/scrapy/settings/default_settings.py b/scrapy/settings/default_settings.pyindex 17957e5e4..d99d65e96 100644--- a/scrapy/settings/default_settings.py+++ b/scrapy/settings/default_settings.py@@ -234,12 +234,12 @@ USER_AGENT = 'Scrapy/%s (+http://scrapy.org)' % import_module('scrapy').__versioTELNETCONSOLE_ENABLED = 1TELNETCONSOLE_PORT = [6023, 6073]-TELNETCONSOLE_HOST = '0.0.0.0'+TELNETCONSOLE_HOST = '127.0.0.1'WEBSERVICE_ENABLED = TrueWEBSERVICE_LOGFILE = NoneWEBSERVICE_PORT = [6080, 7030]-WEBSERVICE_HOST = '0.0.0.0'+WEBSERVICE_HOST = '127.0.0.1'WEBSERVICE_RESOURCES = {}WEBSERVICE_RESOURCES_BASE = {'scrapy.contrib.webservice.crawler.CrawlerResource': 1,