'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 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rose Riyadh