How to Run Laravel server on another host?

Sometimes we have to run Laravel server on some other host instead of localhost. You can do this by specifying –host option in php artisan serve command

. Below is the example usage

php artisan serve --port=8001

Leave a Reply

Your email address will not be published. Required fields are marked *