LoginSignup
12
4

More than 5 years have passed since last update.

ビルドインサーバーに他のPCからアクセスできない

Posted at

開発中はビルドインサーバーを立ち上げている。

$ php artisan serve

デフォルトの起動では外部ネットワークからアクセスできず、デバッグできなかったりする。
(IEでのチェックとか)

以下のようにすれば外部から接続できる

$ php artisan serve --host 0.0.0.0
12
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
4