运行webman项目 第二个 冲突8787 咋办呢(已解决)

along

问题描述

运行webman项目 第二个 冲突8787 咋办呢

程序代码

[root@VM-0-16-centos www.gyxmjz.cn]# php start.php start -d
Workerman[start.php] start in DAEMON mode
stream_socket_server(): Unable to connect to tcp://0.0.0.0:8787 (Address already in use) in file /www/wwwroot/www.gyxmjz.cn/vendor/workerman/workerman/Worker.php on line 2360
PHP Fatal error:  Uncaught Exception: Address already in use in /www/wwwroot/www.gyxmjz.cn/vendor/workerman/workerman/Worker.php:2362
Stack trace:
#0 /www/wwwroot/www.gyxmjz.cn/vendor/workerman/workerman/Worker.php(700): Workerman\Worker->listen()
#1 /www/wwwroot/www.gyxmjz.cn/vendor/workerman/workerman/Worker.php(555): Workerman\Worker::initWorkers()
#2 /www/wwwroot/www.gyxmjz.cn/vendor/workerman/webman-framework/src/support/App.php(131): Workerman\Worker::runAll()
#3 /www/wwwroot/www.gyxmjz.cn/start.php(4): support\App::run()
#4 {main}
  thrown in /www/wwwroot/www.gyxmjz.cn/vendor/workerman/workerman/Worker.php on line 2362

Fatal error: Uncaught Exception: Address already in use in /www/wwwroot/www.gyxmjz.cn/vendor/workerman/workerman/Worker.php:2362
Stack trace:
#0 /www/wwwroot/www.gyxmjz.cn/vendor/workerman/workerman/Worker.php(700): Workerman\Worker->listen()
#1 /www/wwwroot/www.gyxmjz.cn/vendor/workerman/workerman/Worker.php(555): Workerman\Worker::initWorkers()
#2 /www/wwwroot/www.gyxmjz.cn/vendor/workerman/webman-framework/src/support/App.php(131): Workerman\Worker::runAll()
#3 /www/wwwroot/www.gyxmjz.cn/start.php(4): support\App::run()
#4 {main}
  thrown in /www/wwwroot/www.gyxmjz.cn/vendor/workerman/workerman/Worker.php on line 2362
1115 1 0
1个回答

along

config/server.php 下的内容修改一下

  • 暂无评论
×
🔝