Ant_yi: 你好 , 麻烦请问下 ,我启动项目, 报错Cannot assign requested address 这个 , 更换了0.0.0.0或者阿里云公网IP都不行 , 项目本身是OK的 , 我一直在运行,我昨天php stop关闭了项目 , 然后在启动就一直是报这个错误, 看了端口也没有占用,怀疑进程没有关闭干净, 查看后也没有 , 就是一直报错, 大神麻烦帮忙看下[code=php] [Exception] Cannot assign requested address Exception trace: () at /www/wwwroot//vendor/workerman/workerman/:2093 Workerman\Worker->listen() at /www/wwwroot//vendor/workerman/workerman/:594 Workerman\Worker::initWorkers() at /www/wwwroot//vendor/workerman/workerman/:474 Workerman\Worker::runAll() at /www/wwwroot//application/chat/controller/:55 app\chat\controller\Gate->__construct() at n/a:n/a ReflectionClass->newInstanceArgs() at /www/wwwroot//thinkphp/library/think/:359 think\App::invokeClass() at /www/wwwroot//thinkphp/library/think/:47 [/code]
随机对象生成器-EasyRandom
与大家分享一下,在workerman开发中遇到的问题与解决方法