Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Modify the method that the firewall allows remote access to the port under the Linux server

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Problem description

For security reasons, the newly built server cluster only opened a few ports, but it still could not be accessed remotely after the ports were open. after finding the problem, it was found that the firewall needed to open the ports. so use the following command to modify the firewall to allow remote access to the port.

two。 Solution method

Use the command line to execute the statement as follows:

Firewall-cmd-zone=public-add-port=80/tcp-permanent

Firewall-cmd-reload

The above article under the Linux server to modify the firewall to allow remote access to the port is the editor to share with you all the content, I hope to give you a reference, but also hope that you support more.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report