Bind telnet console and webservice to 127.0.0.1 by default

This commit is contained in:
Alexey Bezhan 2014-04-17 13:46:07 +01:00
parent e482c6ec55
commit 89159779d0
3 changed files with 4 additions and 4 deletions

View File

@ -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 on

View File

@ -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 on

View File

@ -234,12 +234,12 @@ USER_AGENT = 'Scrapy/%s (+http://scrapy.org)' % import_module('scrapy').__versio
TELNETCONSOLE_ENABLED = 1
TELNETCONSOLE_PORT = [6023, 6073]
TELNETCONSOLE_HOST = '0.0.0.0'
TELNETCONSOLE_HOST = '127.0.0.1'
WEBSERVICE_ENABLED = True
WEBSERVICE_LOGFILE = None
WEBSERVICE_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,