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

GitHub | ayakix | 10 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and rp . Or join the community to write better ones.
  1. 0

    GitHub comment 1#211804672

    GitHub | 10 months ago | ayakix
    java.net.ConnectException: Connection refused: localhost" [90067-190]
  2. 0
    samebug tip
    host port isnt set
    via GitHub by rawlingsj
  3. 0
    samebug tip
    Check if your MongoDB is available.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    start Appium server
  6. 0
    samebug tip
    You should access rundeck using that 'grails.serverURL' from the config file 'rundeck-config.properties'.
    via GitHub by gschueler
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