1、去阿里云的安全规则增加2个端口,这两个端口是workman里面配置的
2、去宝塔开放4435端口;
3、到api文件夹下执行:php think worker:gateway start
4、后台常驻:php think worker:gateway -d
5、重启workman:php think worker:gateway reload
1、去阿里云的安全规则增加2个端口,这两个端口是workman里面配置的
2、去宝塔开放4435端口;
3、到api文件夹下执行:php think worker:gateway start
4、后台常驻:php think worker:gateway -d
5、重启workman:php think worker:gateway reload