1. PHP 用IP地址啟動
html
php artisan serve --host=192.168.1.167 --port=9000
如果有xdebug 可以先關閉
php -d xdebug.mode=off artisan serve --host=192.168.1.167 --port=9000
PS C:\ Test-NetConnection 192.168.1.100 -Port 9000
SourceAddress : 192.168.1.1000 TcpTestSucceeded : True