“There is a port conflict with this site’s domain” version Version 9.2.8+6882

Bug Summary

I can’t get local to work in site domains.

I’ve tried everything and nothing works :

Check which process is listening on port 80 : sudo lsof -i :80

Example:

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nginx 10539 nicolas 7u IPv4 … TCP *:http (LISTEN)

Stay and kill the blocking process:

sudo kill -9 10539

Remove the local router to start fresh:

rm -rf ~/Library/Application\Support/Local/run/router

I even try this :

Deleted the sites:

Recreated them with, for example: sitename.test instead of sitename.local

Nothing works.

Environment Info

  • Local latest Version 9.2.8+6882
  • MACOS 15.4.1

Supporting info

Logs local

error.log (11.3 KB)

Are you running other developer applications simultaneously? Apps like MAMP, XAMPP, or Docker for example.

Do you have any antivirus, security, or firewall applications that could be blocking Local?

Is this a personal device or one issued by your employer?

Hello @Nick-B thanks for your help.

So, I’m a front-end developer; it’s my Mac :slight_smile:

I don’t use anything that can block Local, and nothing else in the way of software for local WP except Local by Flywheel.

I even uninstalled the software and reinstalled it, and it still doesn’t work.

I still have this in the logs:

2025/09/12 16:25:31 [emerg] 11087#0: still could not bind()
2025/09/12 16:25:34 [emerg] 11089#0: bind() to 0.0.0.0:80 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to [::]:80 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to 0.0.0.0:443 failed (48: Address already in use)
2025/09/12 16:25:34 [emerge] 11089#0: bind() to [::]:443 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to 0.0.0.0:80 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to [::]:80 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to 0.0.0.0:443 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to [::]:443 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to 0.0.0.0:80 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to [::]:80 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to 0.0.0.0:443 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to [::]:443 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to 0.0.0.0:80 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to [::]:80 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to 0.0.0.0:443 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to [::]:443 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to 0.0.0.0:80 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to [::]:80 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to 0.0.0.0:443 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: bind() to [::]:443 failed (48: Address already in use)
2025/09/12 16:25:34 [emerg] 11089#0: still could not bind()

Thanks Nicolas

That’s definitely curious @kosmo!

When you uninstalled/reinstalled did you follow the MacOS steps here and remove all files from your device? Uninstall Local - Local

Does everything work normally when you’re on Localhost for your Router Mode?

Hello,

Localhost is ok. Sorry, I have to persist because I need real URLs when working with APIs…

I’ll try:

Remove everything from the site
Uninstall everything as per the procedure

And I’ll test again on a new site.

Thanks again Nicolas

@Nick-B I just did the same thing again and I still get the same warning…

Can you share a full local log here for us @kosmo? Including everything in addition to the Router Log? Retrieving Local’s Log File

@kosmo Just wanted to let you know that this is happening for me as well with this Local version.

Some of my existing sites show the port message but still work. Others work without issue but seemingly any new site I create has this port issue and display “Site Not Found” when you go to the URL.

1 Like

Thanks for sharing @arecian - Are you also on MacOS 15.4.1? Did this just happen after updating your Local version?

1 Like

I am on Mac OS 15.6.1 (24G90) and it happened after the most recent Local update, yes.

I have not yet tried everything kosmo mentioned in his post so I will try that and see if that works.

2 Likes

Trying both steps worked for me oddly. I had killed processes before but I had not run the command after

rm -rf ~/Library/Application\Support/Local/run/router
I don’t really understand it but at least it working for me. Good luck @Kosmo with your issue.

3 Likes

Hello ! Yes its the solution :slight_smile:

Sorry, I forgot to update the thread. Local actually adds an extra process, and it’s impossible to close. Doing this resets everything and there’s no more problems :slight_smile:

I went around in circles for a good two hours, but it finally worked !

Thanks Nicolas

3 Likes

Thank you for the updates @kosmo and @arecian! Happy Developing :green_heart:

1 Like