Cloud server connection open swoole

1, swoole listening port did not open

Tencent cloud configuration console security group with an inbound rule 0.0.0.0/0 ----> tcp: 9501

 

2, swoole 127.0.0.1 modified to localhost

$http = new swoole_http_server("localhost", 9501);

Guess you like

Origin www.cnblogs.com/flyfly123/p/12652931.html