how to laravel run server in public ip address code example
Example 1: php artisan serve specify ip
php artisan serve --host=some.other.domain --port=8001
Example 2: laravel get client public ip
$_SERVER['REMOTE_ADDR']
php artisan serve --host=some.other.domain --port=8001
$_SERVER['REMOTE_ADDR']