title: Unknown host exception for 127.0.0.1 in RabbitMQ client
body: <p>I have a very strange exception in my application. <code>127.0.0.1</code> is unknown host. I don't know how it can happened. Below details:</p>
  
  <pre><code>ShardedAmqpSpout [WARN] Failed to reconnect to AMQP broker
    java.net.UnknownHostException: 127.0.0.1
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
      at java.net.Socket.connect(Socket.java:579)
      at com.rabbitmq.client.impl.FrameHandlerFactory.create(FrameHandlerFactory.java:32)
      at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:588)
      at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:612)
      at pl.mbank.storm.amqp.ShardedAmqpSpout.setupAMQP(ShardedAmqpSpout.java:220)
      at pl.mbank.storm.amqp.ShardedAmqpSpout.reconnect(ShardedAmqpSpout.java:239)
      at pl.mbank.storm.amqp.ShardedAmqpSpout.open(ShardedAmqpSpout.java:201)
      at backtype.storm.daemon.executor$fn__3985$fn__3997.invoke(executor.clj:460)
      at backtype.storm.util$async_loop$fn__465.invoke(util.clj:375)
      at clojure.lang.AFn.run(AFn.java:24)
      at java.lang.Thread.run(Thread.java:722)
  </code></pre>