org.apache.http.conn.HttpHostConnectException

Connection to http://localhost:50070 refused

Samebug tips1

Use '127.0.0.1' instead of 'localhost'.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web104

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:50070 refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:645) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:480) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) at org.apache.hadoop.gateway.dispatch.HttpClientDispatch.executeRequest(HttpClientDispatch.java:99)

    Write tip

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

    Users with the same issue

    SacchiSacchi
    2 times, last one
    kidkid
    Once,
    Chandan JhaChandan Jha
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    20 more bugmates