Thursday, 8 October 2020

Laravel dev mode

 php artisan serve --host=0.0.0.0 --port=8080

0.0.0.0 is for other app to make connection at host_ip(192.168.10.2)

https://stackoverflow.com/questions/17990820/set-port-for-php-artisan-php-serve/19944781


to make connection to localhost 127.0.0.1, just do 

 php artisan serve --port=8080

No comments:

Post a Comment