Computer B wants key-value from computer A.
Redis-server is on computer A with ip address 192.16.0.2
, port 6379
.
Computer B with ip address 192.16.0.3
tries to get data from computer A.
I tried
redis-cli -h 192.168.0.2 -h 6379.
But there is no response.
To check connection, ping 192.168.0.2
gets response within 1msec.
However telnet 192.168.0.2 6379
does not get response.
How should I solve this problem?