Skip to content

Env modification increments server port #54574

Closed
@HugoHeneault

Description

@HugoHeneault

As seen recenlty in that old issue :

#34121 (comment)

This happend to me right now on lates Laravel and PHP installed from brave on mac.


   INFO  Server running on [http://127.0.0.1:8000].  



  Press Ctrl+C to stop the server





   INFO  Environment modified. Restarting server...  



  Failed to listen on 127.0.0.1:8000 (reason: Address already in use)



   INFO  Server running on [http://127.0.0.1:8001].  



  Press Ctrl+C to stop the server

And when i stop server using ctrl+c all process are stoped and when i start server again is on 8000 again...

Originally posted by @gavalierm in #34121

I am also encoutering that with that config:

php -v
PHP 8.3.13 (cli) (built: Oct 22 2024 18:39:14) (NTS)

php artisan --version
Laravel Framework 11.42.0
macOS 15.3 (24D60)

Any ideas of what's going on? How could I help debug that issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions