![]() |
cannot test local site - Printable Version +- WebPagetest Forums (https://www.webpagetest.org/forums) +-- Forum: WebPagetest (/forumdisplay.php?fid=7) +--- Forum: Private Instances (/forumdisplay.php?fid=12) +--- Thread: cannot test local site (/showthread.php?tid=16233) |
cannot test local site - jhoffman - 10-30-2020 06:25 AM 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 RE: cannot test local site - jhoffman - 11-03-2020 07:05 AM 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. |