redis默认只允许本地访问,要使redis可以远程访问可以修改redis.conf 打开redis.conf文件在NETWORK部分有说明 ################################## NETWORK ##################################### # By default, if no "bind" configuration directive is specified, Redis listens # for co…
springboot 加载外部yml nohup java -jar warehouse-0.0.1-SNAPSHOT.jar --Dspring.config.location=/root/www/application.yml & mysql 开启远程访问 grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;flush privileges; redis 开启远程访问,启动时,…
启动时报的警告: 1.Warning: no config file specified, using the default config. In order to specify a config file use ./src/redis-server /path/to/redis.conf 就因为这个原因,无法连接到远程redis:Unable to connect to 192.168.163.131:6379 解决: [root@cent7-zuoys src]# ./redis-se…