端口是80的时候,启动报错如下
报错信息:PHP Fatal error: Uncaught Swoole\Exception: bind(0.0.0.0:80) failed in /work/tp6/vendor/topthink/think-swoole/src/concerns/InteractsWithHttp.php:37
Stack trace:
#0 /work/tp6/vendor/topthink/think-swoole/src/concerns/InteractsWithHttp.php(37): Swoole\Coroutine\Http\Server->__construct()
#1 /work/tp6/vendor/topthink/think-swoole/src/concerns/InteractsWithServer.php(96): think\swoole\Manager->createHttpServer()
#2 {main}
thrown in /work/tp6/vendor/topthink/think-swoole/src/concerns/InteractsWithHttp.php on line 37
PHP Fatal error: Uncaught Swoole\Exception: bind(0.0.0.0:80) failed in /work/tp6/vendor/topthink/think-swoole/src/concerns/InteractsWithHttp.php:37
Stack trace:
端口为1880,启动成功