mediocregopher / radix.v2

Redis client for Go
http://godoc.org/github.com/mediocregopher/radix.v2
MIT License
433 stars 92 forks source link

dial tcp 192.xxx.xxx.xx:6379 getsockopt: connection refused #76

Closed wisnuvb closed 6 years ago

wisnuvb commented 6 years ago

I want to connect a redis server with a certain IP, but I can not connect it. I get the error message "dial tcp 192.xxx.xxx.xx: 6379: getsockopt: connection refused".

I am writing a connection like this: conn, err: = redis.Dial ("tcp", "192.xxx.xxx.xx: 6379")

All is done