cannot test local site

Hello,

I have machine with windows 10 with iis serving my development work, and docker for windows containers for wpt server and agent (pulled from Docker Hub and Docker Hub) I used advice from Webpagetest (WPT) Private Instance Installation using Docker in Windows - YouTube to configure.

With this private instance I can test hosted urls fine, but I cannot test a local webpage running on iis (http://127.0.0.1/…)

Test Error: Error code 2152398861, navigation error. unable to connect.

I have a settings.ini file with allowPrivate=1

Please suggest some action I can take to permit testing of locally served webpages with a private instance of WPT.

Thank you,

jhoffman

Update:

since I am using Linus containers on Docker for Windows and IIS to serve pages locally (I changed the http port to 8081), in addition to --network=“host” when running the server, I also need the url for test to be:

http://host.docker.internal:8081/

and now the tests proceed.