摘要: php swoole+websocket 客户端代码 备注: 测试发现在docker容器内启动php服务9502,不需要经过nginx配置来连接,直接在容器设置端口,用前端指向到PHP端口访问。 <!DOCTYPE html> <html> <head> <title></title> <meta 阅读全文
posted @ 2022-07-04 15:22 快乐的在一起 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Centos7使用的是firewalld作为防火墙,而不是iptables了 在root权限下: 查看防火墙状态 有两种方法 : 方式1、 firewall-cmd --state 现在处于打开状态。 方式2、 systemctl status firewalld active,处于打开状态。 关闭 阅读全文
posted @ 2022-07-04 11:50 快乐的在一起 阅读(1622) 评论(0) 推荐(0) 编辑