Logstash shipper throwing socket error

When i am sending logstash events through logstash shipper to redis, getting below error. Kindly help me in fix this isse.

exception=>SocketError: initialize: name or service not known>

Other instances are throwing below mentioned exception.

exception=>#Redis::TimeoutError: Connection timed out>

Both these errors indicate network issues that are hard to debug remotely.