MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - cannot test local site

WebPagetest Forums

Full Version: cannot test local site
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 https://hub.docker.com/r/webpagetest/server and https://hub.docker.com/r/webpagetest/agent.) I used advice from https://www.youtube.com/watch?v=S0wia-9-YLI 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.
Reference URL's