php artisan serve --host=127.0.0.1 code example Example: php artisan serve specify ip php artisan serve --host=some.other.domain --port=8001