Local Community

Local dev site not loading

Hi. I’m a new developer, trying to create a site in Local. I almost finished the homepage (haven’t taken a backup yet), went to open wp-admin the next day and it simply wouldn’t load and still won’t. It doesn’t even ask for my login details. It just says loading. I started a new test site to see if was all sites, but that one is fine. Local is up to date and I’m running Windows 10. It was suggested to me to create a zip of the wp-contents folder and SQL files and then import them into Local to start a new site but not sure if I’m getting the SQL files right - the person suggesting it uses Mac so couldn’t help more. I’ve attached screenshots of the folder and the file (within the SQL folder) I tried.

local-logs.zip (60.8 KB)

Hi @Saromi - welcome and thanks for using Local!

Are you using any other development software to build your site? In looking at your log file, it seems Local is trying to access port 10024, where your site’s database is supposed to be running. When it checks that port, it runs into a conflict (something else seems to be using it also) and aborts.

Quitting whatever tool is conflicting with that port should resolve this issue. If you’re not sure what that might be, I can help you with a command that will give us more information about what is trying to use port 10024.

Hey Austin,

Thanks for the welcome and speedy reply. I’m not using any other software. Just Local and building with a StudioPress theme. I definitely have no idea what tool would be the problem and don’t know what port 10024 is.

Please help!

@austinwendt forgot to tag you.

@Saromi No worries, we can try to figure it out! Based on your original screenshot, it looks like you’re using Site Domain routing mode - I can see your site’s URL ends in .local. If we’re running into a port conflict, switching Local to localhost routing mode might resolve the issue.

Localhost routing mode would mean your site is running on a specific port on your computer; when you open the site in a browser, the URL will look like localhost:10000. You can see my site here is using localhost mode -

Can you try switching to localhost routing mode and opening your site again? Here is a guide to walk you through that - What is Router Mode? - Local

@austinwendt thank you. Unfortunately, it didn’t work. It actually didn’t come up with the banner and ‘fix it’, however, it did for my test site.

@Saromi Thanks for sticking with me. Something on your machine is conflicting with Local’s ability to read from the database; I’m just not sure what. For you, that is running on port 10024.

Can you try finding (and turning off) whatever is running on that port? Here is a guide to doing so - 3 Ways to Find Which Linux Process Listening on a Port. On Windows, I would recommend using the netstat command in that help doc.

To be honest, I don’t really know what I’m doing but I opened the command prompt and pasted in the first command and this is what I got.