Swoole 入门

 

开启服务:
php swoole.php


1.监听端口 netstat -anp | grep 9566

链接

telnet 127.0.0.1 9566

kill 593825 杀进程


//  查看进程数量

ps aft | grep tcp.php

 

url不能访问问题:

1.   curl http://127.0.0.1:9588
2.    检测阿里云服务器ECS的  【安全组】   出方向,入方向

3. Linux 关闭防火墙
systemctl stop firewalld.service

4.开启防火墙

systemctl start firewalld.service


https://blog.csdn.net/xc_zhou/article/details/80879810

 

posted @ 2020-11-08 10:14  林间有风-邓  阅读(89)  评论(0编辑  收藏  举报