Unable to connect to invalid Redis host

java.net.UnknownHostException
Javadoc
Thrown to indicate that the IP address of a host could not be determined. @author Jonathan Payne @since JDK1.0
at java.net.AbstractPlainSocketImpl.connect
(source)
at java.net.SocksSocketImpl.connect
(source)
at java.net.Socket.connect
(source)
at redis.clients.jedis.Connection.connect
(source)
redis.clients.jedis.exceptions.JedisConnectionException
at redis.clients.jedis.Connection.connect
(source)
at redis.clients.jedis.BinaryClient.connect
(source)
5 frames hidden

Typical Exception Messages

  1. java.net.UnknownHostException: host-name.com
  2. java.net.UnknownHostException: test
  3. java.net.UnknownHostException: redis1
  4. java.net.UnknownHostException: localhosti
  5. java.net.UnknownHostException: REDISNAME.nquffl.0001.apn2.cache.amazonaws.com:6379

Origin

Socket.connect() has thrown an UnknownHostException

java.net.UnknownHostException
2 frames hidden
java.net.Socket.connect
339Web pages

Similar

Specific cases

External results for this pattern (3)

  1. java.net.UnknownHostException: REDISNAME.nquffl.0001.apn2.cache.amazonaws.com:6379
    Show stack trace
  2. jnadorgvia GitHub1 year ago
    java.net.UnknownHostException: redis1
    Show stack trace
  3. valodzkavia Stack Overflow2 years ago
    java.net.UnknownHostException: host-name.com
    Show stack trace