Home > Operation and Maintenance > CentOS > What to do if port access is denied under centos7

What to do if port access is denied under centos7

王林
Release: 2020-04-01 09:24:53
Original
6544 people have browsed it

What to do if port access is denied under centos7

Problem:

After starting the external service on the centos7 listening port, the port access is denied.

Solution:

You can turn off the firewall directly in the development environment.

(Recommended tutorial: centos tutorial)

1. Turn off the firewall

systemctl stop firewalld
Copy after login

2. Disable the firewall from starting at boot

systemctl disable firewalld
Copy after login

Note: Remember not to turn off the firewall at will in the production environment.

The above is the detailed content of What to do if port access is denied under centos7. 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