2017-09-28 5 views
1

を「PHPの職人が奉仕」を実行するときlaravelに他のIPに8000のデフォルトの結果によって:私たちは、私は、コマンド「PHPの業者がサーブ」runnigい

-Laravel開発サーバーが起動している:http://127.0.0.1:8000

私が今までPHPの職人が--help`に仕える `実行していると考える他のIPに

+0

を指して変更したいですか? – Devon

+0

私はこのコマンドを実行しましたが、ファイルを変更する必要があります –

+1

ファイルを変更せず、オプションでコマンドを実行するだけです... – Devon

答えて

4
# php artisan serve --help 
Usage: 
    serve [options] 

Options: 
     --host[=HOST]  The host address to serve the application on. [default: "127.0.0.1"] 
     --port[=PORT]  The port to serve the application on. [default: 8000] 
    -h, --help   Display this help message 
    -q, --quiet   Do not output any message 
    -V, --version   Display this application version 
     --ansi   Force ANSI output 
     --no-ansi   Disable ANSI output 
    -n, --no-interaction Do not ask any interactive question 
     --env[=ENV]  The environment the command should run under 
    -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug 

Help: 
    Serve the application on the PHP development server 
関連する問題