Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Check if your MongoDB is available.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via Stack Overflow by Anushka Ekanayake
, 1 year ago
Error while trying to connect to ssl://localhost:7612
via Stack Overflow by Mr.D
, 7 months ago
via Stack Overflow by syed naqvi
, 8 months ago
via Stack Overflow by EL BENANY Mohamed Mahmoud
, 4 months ago
Error while trying to connect to ssl://localhost:7712
via GitHub by yhilem
, 2 months ago
Error while trying to connect to ssl://wso2apim-analytics-2:7712
via GitHub by yhilem
, 2 months ago
Error while trying to connect to ssl://wso2apim-analytics-1:7712
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)	at sun.security.ssl.SSLSocketImpl.(SSLSocketImpl.java:427)	at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)	at org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:208)	at org.apache.thrift.transport.TSSLTransportFactory.getClientSocket(TSSLTransportFactory.java:166)	at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecureClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:56)	at org.wso2.carbon.databridge.agent.client.AbstractClientPoolFactory.makeObject(AbstractClientPoolFactory.java:37)	at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)	at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:92)	at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.run(DataEndpointConnectionWorker.java:43)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	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)