Regularly have sites that won't start

What issue or error are you experiencing?

I create quite a few sites in local and on a regular basis I get one that won’t start, they just get stuck in an infinite “starting” progress but never do. When I check logs it talks about the db port having an issue. Once a site stops starting, it won’t ever start again, I have to clone it and thne it will start up. I often then have these duplicates do the same after while and I have to duplicate again.It happens no matter what version of PHP I use, server and even mysql/maria. Happens to all of them.

I do run Docker and WSL2 for one other custom site however Docker and WSL2 are both shut down when this happens so they shouldn’t be affecting it and there is no pattern with creating a site and running Docker and sites failing to start.


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:
    Version 9.0.4+6699
  • Operating System (OS) and OS version:
    Windows 11

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

{“class”:“Process”,“level”:“warn”,“message”:“2024-07-19 17:00:56 0 [ERROR] Can’t start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.”,“process”:“mariadb”,“thread”:“main”,“timestamp”:“2024-07-19T16:00:56.646Z”}


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @mattadamson

We see this issue often with Windows users and our team is looking into a more permanent fix. For now, you could try to open Windows Task Manager and kill MySQL which might be doubling up on services and creating a jam.

Thanks Nick, when I spin up one of the broken sites I see the MySQL process start along with MySQLAdmin process. The MySQL process then vanishes and the admin one stays. MySQL never comes back after that.

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