When connecting to WP Admin, it gives me error 0x80070002
This occurs right after site installation. The “Open Site” option shows the site, but the Admin site does not work.
Troubleshooting Questions
I have tried resetting IIS, but that did not work. Tried rebooting, same thing.
On the admin site, it shows "Physical Path: C:\inetpub\wwwroot\wp-admin" but that is not where my site is installed at. How can I change that to my local site installation?
Replication
Tried new site install multiple times. Always the same issue. Don’t think it’s Local that’s causing the problem.
I discovered what he issue was… Local created the site on port 10004 but Local is trying to use port 80 instead. Is there a way to force 10004? This is with IIS shut down.
Local will create a router that listens on port 80 and which then forwards the request to the actual WordPress site. It does this so that you don’t have to have the specific port numbers when making requests to the site.
The best thing to do is figure out what’s listening on port 80 and shut it down so that Local can start its router, but if that isn’t an option, then you can enable localhost “Router Mode” from “Preferences > Advanced > Router Mode.”