DEV Community

Chidiebere Chukwudi
Chidiebere Chukwudi

Posted on • Updated on • Originally published at

Port 8080 already in use (laravel)

You get this kind of error for one reason: you are trying to run an app, example, a laravel project on the same port.

So here are two quick simple solutions :

A. Close the terminal where you initially ran php artisan serve by pressing ctrl + c then from your terminal, cd into the root folder of your OTHER laravel project, then run php artisan serve again.


B. CD into your OTHER laravel app root directory. Then define another port in your terminal by typing the command php artisan serve --port=8081

Now, you have two different apps running on two ports: and

I hope this helps.

Discussion (0)