swoole中http_server 域名加端口没法访问

在阿里云服务器中设置安全组安全

将swoole_http_server("127.0.0.1",9501);中的127.0.0.1换成localhost服务器

$http = new swoole_http_server("localhost", 9501);
相关文章
相关标签/搜索