I jus installed this app and get the error that Local’s router is having trouble starting.
I browsed earlier issues on this forum but they seem to refer to older versions of this software.
Troubleshooting Questions
How can this be resolved?
I am able to create a new, plain WordPress site in Local but cannot access it in a Browser
Replication
idk
System Details
Which version of Local is being used? 5.9.4+5115
What Operating System (OS) and OS version is being used?
Windows 10 Professional (latest updates installed)
Hey @elanbv – thanks for the Local log and the screenshot!
I’ve seeing a number of lines in the Local log that look like:
{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [emerg] bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)","timestamp":"2020-12-07T16:30:13.446Z"}
Usually when I see nginx: [emerg] bind()... errors, it’s because there’s already another app that’s listening on port 80 (the default for HTTP), but in this case, the end of the line has:
An attempt was made to access a socket in a way forbidden by its access permissions
Given that the screenshot that was provided appears to be for an IIS Web Server (as opposed to Local’s server software) I think you’ll need to do one of two things:
Use Local’s localhost Router Mode from “Preferences > Advanced > Router Mode”. There are some limitations to the localhost mode and this help doc has more info: What is Router Mode? - Local
Disable or uninstall the built in IIS server that comes with Windows.
I think that this SuperUser answer should guide you:
Tnx for your reply. I found another solution by turning off http in command prompt. But I tink this will be back on after reboot so I will follow your suggestion too. I trust this will work.