修改redis.conf git
修改成:
protected-mode no
不然會報 reids 是保護模式github
#bind 127.0.0.1 將改行註釋
不然會報: 拒絕鏈接redis
./redis-server ../redis.confspring
./redis-cli shutdownrestful
使用的例子: rest
https://github.com/ScienJus/spring-restful-authorizationserver