Level 11
Hi!
You can’t run two things (such as web servers) servers on the same port. So you’ll need to use something like port 8000 for one and port 8001 for the other.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am not able to run local site and api at the same time laravel i am running the local site in port: 8000
http://localhost:8000
and i am also using same port for api but its not working.
In env file this my urls
APP_URL=http://localhost:8000
API_URL=http://localhost:8000/
Please or to participate in this conversation.