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
GNU Parallel is a shell tool for executing comput...
Table of contents Forward Proxy nginx reverse pro...
Table of contents 1. parse 1.1 Rules for intercep...
This article example shares the specific code of ...
This article example shares the specific code of ...
Table of contents 1. Brief Introduction 2. Run sc...
Table of contents 1. The direction of this in the...
The component lifecycle is usually where our busi...
In real life, a lock is a tool we use when we wan...
1. Install basic components First, execute the yu...
HTML reuse is a term that is rarely mentioned. Tod...
Installation & Configuration The official web...
The installation of mysql-5.7.17 is introduced be...
Use runlike to view the docker run startup parame...
This article shares the specific code of JavaScri...