php start.php start -d 出错

1271281914
php start.php start
Workerman 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
8442 1 0
1个回答

walkor 打赏

提示已经很明显,

Address already in use,

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

  • 暂无评论
年代过于久远,无法发表回答
×
🔝