scrapy / scrapyd

A service daemon to run Scrapy spiders
https://scrapyd.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
2.92k stars 569 forks source link

Adjust doc: add way to listen on IPv6 addresses #507

Closed vorenhoutgithub closed 1 month ago

vorenhoutgithub commented 1 month ago

The documentation now mentions bind to 0.0.0.0 as the option to listen on other IP addresses.

But, this way the scrapyd server will only listen on IPv4.

As the internet is quickly moving towards IPv6, it would be really nice to add this to the documentation (see https://stackoverflow.com/questions/39332844/twisted-dual-stack-tcp-server)

IN https://scrapyd.readthedocs.io/en/latest/config.html CURRENT TEXT bind_address The IP address where the website and json webservices will listen. Defaults to 127.0.0.1 (localhost) ADD LINE: Change to 0.0.0.0 to listen to all IPv4 addresses, change to ::0 to listen to both IPv4 and IPv6 addresses.