java.net.UnknownHostException: localhost:9200

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if you don't have a VPN or something like this messing with your connection. Also, check Jenkins DNS configurations (try to start it with "--dns 8.8.8.8".

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Re: Usergrid tomcat7 startup issues
    via by Harri Wahlroos,
  • Usergrid tomcat7 startup issues
    via by Harri Wahlroos,
  • Re: Usergrid tomcat7 startup issues
    via by Harri Wahlroos,
  • Usergrid tomcat7 startup issues
    via by Harri Wahlroos,
  • Re: Usergrid tomcat7 startup issues
    via by Harri Wahlroos,
  • Usergrid tomcat7 startup issues
    via by Harri Wahlroos,
  • Android not building on OSX
    via GitHub by ljbade
    ,
  • Network hickup causes exception
    via GitHub by giray
    ,
    • java.net.UnknownHostException: localhost:9200 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at org.elasticsearch.common.netty.channel.socket.oio.OioClientSocketPipelineSink.connect(OioClientSocketPipelineSink.java:109) at org.elasticsearch.common.netty.channel.socket.oio.OioClientSocketPipelineSink.eventSunk(OioClientSocketPipelineSink.java:69) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:574) at org.elasticsearch.common.netty.channel.Channels.connect(Channels.java:634) at org.elasticsearch.common.netty.channel.AbstractChannel.connect(AbstractChannel.java:207) at org.elasticsearch.common.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:229) at org.elasticsearch.common.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:182) at org.elasticsearch.transport.netty.NettyTransport.connectToChannelsLight(NettyTransport.java:769) at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:737) at org.elasticsearch.transport.netty.NettyTransport.connectToNodeLight(NettyTransport.java:709) at org.elasticsearch.transport.TransportService.connectToNodeLight(TransportService.java:154) at org.elasticsearch.discovery.zen.ping.unicast.UnicastZenPing$3.run(UnicastZenPing.java:376) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    derprogger
    derprogger52 times, last one,
    musketyr
    musketyr2 times, last one,
    Unknown User
    Unknown User1 times, last one,
    odd
    odd1 times, last one,
    batwalrus76
    batwalrus7610 times, last one,
    111 more bugmates