Home > PHP Framework > Swoole > body text

What should I do if the swoole server cannot connect?

藏色散人
Release: 2020-04-10 09:17:24
Original
3352 people have browsed it

What should I do if the swoole server cannot connect?

swooleWhat should I do if the server cannot connect?

Use a browser or TCP debugging tool to connect and have several diagnostic ideas:

php -m Check for swoole extension

View the default firewall status ( It displays not running after it is turned off, and running when it is turned on)

firewall-cmd --state Check whether the firewall is closed

ps -ajft
Copy after login

Check whether its own executable file is executing

yum install telnet
Copy after login

Use telnet for link testing telnet 127.0.0.1 9502

ctrl ]Exit the process

If there are no problems with the above

Go to the server to see if there is swoole_server("0.0" in the security group .0.0",9502);Specified port number

The above is the detailed content of What should I do if the swoole server cannot connect?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!