MENU

Redis 不可外网连接

February 15, 2020 • 默认分类

配置文件中将bind注释

# If you want you can bind a single interface, if the bind option is not 
# specified all the interfaces will listen for incoming connections. 
# bind 127.0.0.1

我用宝塔装的redis服务, 可将性能调整 -> bind更改为0.0.0.0

Last Modified: March 15, 2020
Archives QR Code Tip
QR Code for this page
Tipping QR Code