Current time: 11-30-2020, 01:00 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cannot test local site
10-30-2020, 06:25 AM (This post was last modified: 11-03-2020 07:03 AM by jhoffman.)
Post: #1
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 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
Find all posts by this user
Quote this message in a reply
11-03-2020, 07:05 AM (This post was last modified: 11-03-2020 07:06 AM by jhoffman.)
Post: #2
RE: cannot test local site
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)