Search code examples
phplaravelapipostmaninsomnia

Laravel embedded server changing ports


enter image description here

Good day, I'm having this problem with my laravel project, I didn't change anything and just made a postman request to my API and this keeps happening.

I ran php artisan optimize, nothing changed.

I updated my linux and nothing happened.

I updated my project and nothing happened.

I don't know what to do...

This is what I get on postman : enter image description here

This is what I get on insomnia : enter image description here


Solution

  • It was a problem with the version I have installed and it wasn't LTS. I had to create a project and transfer all my code after upgrading all my packages.