diff --git a/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py b/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py index fe8a18a48f..2eafa95b37 100644 --- a/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py +++ b/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py @@ -122,7 +122,7 @@ class BaseDocumentationSpider(scrapy.Spider): if getattr(self, 'validate_html', False): yield Request( - 'http://localhost:9988/?out=json', + 'http://127.0.0.1:9988/?out=json', method='POST', headers={'Content-Type': response.headers['Content-Type']}, body=response.body, diff --git a/tools/test-help-documentation b/tools/test-help-documentation index 5227ec0049..7977c2b1c4 100755 --- a/tools/test-help-documentation +++ b/tools/test-help-documentation @@ -44,6 +44,7 @@ def vnu_servlet() -> Iterator[None]: os.path.dirname(__file__), '../node_modules/vnu-jar/build/dist/vnu.jar', ), + '-Dnu.validator.servlet.bind-address=127.0.0.1', 'nu.validator.servlet.Main', '9988', ]) as proc: