artisan change port code example
Example: php artisan serve another port
# specify port
$ php artisan serve --port=8080
# specify host and port
$ php artisan serve --host=localhost --port=8080
# specify port
$ php artisan serve --port=8080
# specify host and port
$ php artisan serve --host=localhost --port=8080