Redis under centos6.5 modifies the default port and cannot be accessed remotely.

can be accessed locally, but not remotely. Port and pidfile, firewalls have been modified and ports have been opened. But Telnet still doesn"t work.

clipboard.png

clipboard.png

Port is going to be changed to 60379

Mar.19,2021

what has the redis port changed to? ss-tlnp and sudo iptables-nL post, thank you


first ping to see if it can get through
, and then telnet can see if other ports running the service can not get through

or turn off the firewall and then telnet can't get through. If it does, it means there's something wrong with your firewall

.

in addition, if it is a CVM, there will be a security group that needs to configure the open port of the machine separately in the security group

anyway, it's a factor, a factor, a factor.


this really has nothing to do with the port.
I guess the default bind 127.0.0.1 does not accept requests from external network cards.
check your redis.conf
and see the IP address of the network card on which you accept requests from the foreign network.
bind some versions of your public network card ip,
may want to turn off the security mode, and
and try to add a more complex password, otherwise you will be password-free.
and in principle, redis services are not open to the public network unless they are necessary!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b358cb-2bf96.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b358cb-2bf96.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?