What issue or error are you experiencing?
So everything works find until I open Docker.
When Docker running background, I can found any site hosted in locale.
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
Very easy, create any site on windows 11 , with docker on wsl2 and
. If I close docker, everything work fine.
Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
error.log (6.6 KB)
local-lightning-verbose.log (186.0 KB)
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.
Working with multiple developer applications at the same time can be problematic as they fight for ports and connections. You could try changing your Router Mode to Localhost and see if you can proceed that way.
Hey Nick-B thank you for your fast answer.
I already tried and it’s almost working. The application I mount , it’s wordpress and woocommerce site from my client only for testing purpose. We building them a middleware so we need webhooks ect to test our middleware locally.
It’s almost working, because now the routing working but all theirs css and stuff are wrongly loaded.
But you make me thinks maybe by checking the wp-config, I’will be able to fix all this stuff. I expect that port of localhost will never change.
Per curiosity, did you have any other idea of making work by domain routing instead of localhost ?
Localhost doesn’t support HTTPS, so that might be causing mixed content or secure connection issues. You could try running S/R to clean up links or see if any cache troubleshooting helps.
To help identify and address Port conflicts with Docker for example you could try steps like this:
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
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 36 hours after the last reply. New replies are no longer allowed.