php artisan serve ip port ubuntu code example
Example 1: php artisan serve another port
# specify port
$ php artisan serve --port=8080
# specify host and port
$ php artisan serve --host=localhost --port=8080
Example 2: php artisan serve specify ip
php artisan serve --host=some.other.domain --port=8001