java.net.ConnectException: Connection refused: localhost" [90067-190]

GitHub | ayakix | 8 months ago
  1. 0

    GitHub comment 1#211804672

    GitHub | 8 months ago | ayakix
    java.net.ConnectException: Connection refused: localhost" [90067-190]
  2. 0

    Exception and throwable not being caught

    Stack Overflow | 1 year ago | Arya
    driver.version: RemoteWebDriver
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 62#144899449

    GitHub | 1 year ago | ziploc1010
    java.io.IOException: Failed to open thrift connection to Cassandra at 52.23.252.148:9160
  5. 0

    Can't run cassandra stress tool

    Stack Overflow | 1 year ago | user3726031
    java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused

  1. richard77 2 times, last 1 week ago
  2. treefolk 1 times, last 2 weeks ago
  3. kjhdofjosvs 20 times, last 2 weeks ago
  4. Andreas Häber 9 times, last 2 weeks ago
  5. Aria Pahlavan 2 times, last 3 weeks ago
45 more registered users
50 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)[?:1.8.0_77]
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)[?:1.8.0_77]
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[?:1.8.0_77]
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[?:1.8.0_77]
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[?:1.8.0_77]
    6. java.net.Socket.connect(Socket.java:589)[?:1.8.0_77]
    6 frames
  3. H2 Database Engine
    JdbcConnectionPool.getConnection
    1. org.h2.util.NetUtils.createSocket(NetUtils.java:122)[h2-1.4.190.jar:1.4.190]
    2. org.h2.util.NetUtils.createSocket(NetUtils.java:102)[h2-1.4.190.jar:1.4.190]
    3. org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:114)[h2-1.4.190.jar:1.4.190]
    4. org.h2.engine.SessionRemote.connectServer(SessionRemote.java:448)[h2-1.4.190.jar:1.4.190]
    5. org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:329)[h2-1.4.190.jar:1.4.190]
    6. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107)[h2-1.4.190.jar:1.4.190]
    7. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91)[h2-1.4.190.jar:1.4.190]
    8. org.h2.Driver.connect(Driver.java:72)[h2-1.4.190.jar:1.4.190]
    9. org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190)[h2-1.4.190.jar:1.4.190]
    10. org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353)[h2-1.4.190.jar:1.4.190]
    11. org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385)[h2-1.4.190.jar:1.4.190]
    12. org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227)[h2-1.4.190.jar:1.4.190]
    13. org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199)[h2-1.4.190.jar:1.4.190]
    13 frames
  4. org.nkjmlab.util
    RDBUtil.dropIfExists
    1. org.nkjmlab.util.rdb.RDBUtilWithConnectionPool.getConnection(RDBUtilWithConnectionPool.java:26)[classes/:?]
    2. org.nkjmlab.util.rdb.RDBUtil.executeUpdate(RDBUtil.java:85)[classes/:?]
    3. org.nkjmlab.util.rdb.RDBUtil.dropIfExists(RDBUtil.java:208)[classes/:?]
    3 frames
  5. org.nkjmlab.jsonrpc
    WebSocketManager.lambda$0
    1. org.nkjmlab.jsonrpc.photorogaining.PhotoRogainingService.<clinit>(PhotoRogainingService.java:22)[classes/:?]
    2. org.nkjmlab.jsonrpc.photorogaining.WebSocketManager.lambda$0(WebSocketManager.java:50)[classes/:?]
    2 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_77]
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[?:1.8.0_77]
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[?:1.8.0_77]
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[?:1.8.0_77]
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_77]
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_77]
    7. java.lang.Thread.run(Thread.java:745)[?:1.8.0_77]
    7 frames