我可以在服务器上Ping Pong Redis:
# redis-cli ping
PONG
但是远程工作时,我遇到了问题:
$ src/redis-cli -h REMOTE.IP ping
Could not connect to Redis at REMOTE.IP:6379: Connection refused
在配置中,我得到了标准端口:
# Accept connections on the specified port, default is 6379.
# If port 0 is specified Redis will not listen on a TCP socket.
port 6379
那么我是否应该在远程Ubuntu机器上打开端口6379呢?我该如何操作?