mirror of https://github.com/scrapy/scrapy.git
Bind telnet console and webservice to 127.0.0.1 by default
This commit is contained in:
parent
e482c6ec55
commit
89159779d0
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue