Keep having error: Local's router is having trouble starting

Issue Summary

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)
  • I’ve attached the Local Log.local-lightning.log (53.4 KB)

Also included snapshot of error message when trying to open the site:

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:

  1. 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

  2. Disable or uninstall the built in IIS server that comes with Windows.

    I think that this SuperUser answer should guide you:

    • Call Control Panel > Programs and Features
    • Click Turn Windows features on or off
    • Scroll down to Internet Information Services enter image description here
    • Click on the square next to Internet Information Services so it becomes emptyenter image description here
    • Click OK and reboot if required.

Hi Ben,

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.

Regards, Peter

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.