See what app uses the port 80 and close it.
Apr 30, 2022
5
Level 1
laravel sail issue
i just tried laravel sail on my macbook m1 and the following error occured. any help please?
ERROR: for laravel.test Cannot start service laravel.test: Ports are not available: listen tcp 0.0.0.0:80: bind: address already in use
Level 10
@mcjovial if you have MySQL server installed locally and running, stop it, if you have valet running, stop it. After that, you may want to run
./vendor/bin/sail stop
./vendor/bin/sail down
and to make sure no other docker container is running run
docker stop $(docker ps -aq)
Now restart your PC you should be good to go hopefully
./vendor/bin/sail up -d
6 likes
Please or to participate in this conversation.