Search code examples
python-2.7scrapytelnetlib

Change telnet port of scrapy from [6023, 6073] to 80


As we know Scrapy runs on port between 6023 to 6073. But due to firewall these ports are blocked and I am abideby by it. Now I am trying to change the port of scrapy.enter image description here

To something like 127.0.0.1:80.


Solution

  • Scrapy itself is a framework, it does not listen to anything per-se.

    You seem to be refering to the telnet console.

    See TELNETCONSOLE_PORT setting to change the port it listens to.

    Something like this should do what you want:

    TELNETCONSOLE_PORT = [80]