1. Modify the firewall configuration file # vi /etc/sysconfig/iptables wqSave and exit, restart the firewall service iptables restart This way port 6379 can be accessed remotely 2. Linux command to open port Add an open port such as port 80 # sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT Save settings /etc/rc.d/init.d/iptables save Restart the service to take effect /etc/init.d/iptables restart Check whether the open port is effective /sbin/iptables -L -n Output the following: Port 80 is open ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 The above article on how to allow remote access to open ports in Linux is all I have to share with you. I hope it can give you a reference, and I also hope that you will support 123WORDPRESS.COM. You may also be interested in:
|
<<: MySQL 8.0.2 offline installation and configuration method graphic tutorial
>>: Detailed explanation of Vue component reuse and expansion
Global Object All modules can be called global: r...
Whether it is a corporate website, a personal blo...
Table of contents 1. BOM 2. Composition of BOM 2....
Table of contents 1. Auxiliary functions 2. Examp...
This article example shares the specific code of ...
Preface Note: The test database version is MySQL ...
Master-slave synchronization, also called master-...
Docker usage of gitlab gitlab docker Startup Comm...
Preface The previous article installed Hadoop, an...
ERROR 1290 (HY000) : The MySQL server is running ...
1. How to use the link: Copy code The code is as f...
When it comes to tool-type websites, we first hav...
This article uses examples to illustrate how to v...
Table of contents Preface Error Object throw try…...
Recently, I have been working on thesis proposals ...