php start.php start -d 出错


php start.php start
Workerman[start.php] start
PHP Warning: stream_socket_server(): unable to connect to tcp://0.0.0.0:7272 (Address already in use) in /home/wwwroot/w.com/Workerman/Worker.php on line 1160

Warning: stream_socket_server(): unable to connect to tcp://0.0.0.0:7272 (Address already in use) in /home/wwwroot/w.com/Workerman/Worker.php on line 1160
PHP Fatal error: Uncaught exception 'Exception' with message 'Address already in use' in /home/wwwroot/w.com/Workerman/Worker.php:1163
Stack trace:
#0 /home/wwwroot/w.com/Workerman/Worker.php(392): Workerman\Worker->listen()
#1 /home/wwwroot/w.com/Workerman/Worker.php(310): Workerman\Worker::initWorkers()
#2 /home/wwwroot/w.com/start.php(32): Workerman\Worker::runAll()
#3 {main}
thrown in /home/wwwroot/w.com/Workerman/Worker.php on line 1163

Fatal error: Uncaught exception 'Exception' with message 'Address already in use' in /home/wwwroot/w.com/Workerman/Worker.php:1163
Stack trace:
#0 /home/wwwroot/w.com/Workerman/Worker.php(392): Workerman\Worker->listen()
#1 /home/wwwroot/w.com/Workerman/Worker.php(310): Workerman\Worker::initWorkers()
#2 /home/wwwroot/w.com/start.php(32): Workerman\Worker::runAll()
#3 {main}
thrown in /home/wwwroot/w.com/Workerman/Worker.php on line 1163
已邀请:

walkor

赞同来自:

提示已经很明显,

Address already in use,



7272端口被占用了,可以改下端口

要回复问题请先登录注册