Unable to provision new sites

Unable to create new sites on Local, on my Win10 laptop.

The issue started after installing wampp for another project on the device.

Tried creating the new site without any special chars in the username.

System Details

  • **Local Version:8.0.1

  • **Operating System (OS) and OS version: WIndows 10


How to fix?

Hi @digitaljudas

WAMP and Local are likely competing for ports or connections. You can try changing your Router Mode to Localhost to see if you can proceed that way.

Preferences>Advanced>Router Mode>Localhost

Made the change, but still the same thing. No idea what’s happening.

Tried locating the issue by following the file path, but got nowhere.

Hi @digitaljudas

What about moving the site out of the default path (C:\Users\{user-name}\Local Sites) and placing the site in another folder? This file path can be set during site creation. A global default for new sites can be set in Local’s Preferences.

Here are some steps to help address port conflicts if another app for example is getting in the way:

  • Stop all sites that are running in Local

  • Force quit Local

  • (If using Mac) Run the command lsof -nP -iTCP -sTCP:LISTEN

  • (If using Windows) Run the command netstat -ano

What you’ll be looking for here is to see when sites are stopped and Local is properly shut down if there are still programs running on ports 80 and 443. These may be conflicting with Local or the system may be reporting Local is still running.

Once you run that command you should see a list of listening ports. If you see a particular program making use of those ports, you can then kill that process by running sudo kill -9 XXX where XXX is the PID number of that process. (On Windows you will use taskkill /F /pid XXX where XXX is the PID number of that process)

There are also some more details around this and other troubleshooting steps at this link if needed: Stopping Whatever Is Listening On Port 80.

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