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
Table of contents 1. v-for: traverse array conten...
Preface A character set is a set of symbols and e...
Method 1: Modify the configuration file (need to ...
01. Command Overview md5sum - Calculate and verif...
This article shares a draggable login box impleme...
1. CSS3 animation ☺CSS3 animations are much easie...
The Docker container provides services and listen...
Table of contents Preface Confusing undefined and...
This article shares with you the specific method ...
Table of contents Preface Browser compiled versio...
Table of contents Review of Object.defineProperty...
I have used the vi editor for several years, but ...
When developing a mobile page recently, I encount...
It has been a long time since the birth of vue3, ...
Before reading this article, I hope you have a ba...