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 Google Groups by test520, 1 year ago
Connect to 127.0.0.1:80 [/127.0.0.1] failed: Connection refused
via Stack Overflow by Shankar
, 1 year ago
Connect to www0.v1host.com:443 [www0.v1host.com/[IP]] failed: Connection timed out: connect
via Stack Overflow by Naveen
, 11 months ago
Connect to gigilitytest.cloud.cms500.com:80 [gigilitytest.cloud.cms500.com/10.101.4.223] failed: Connection refused
via Stack Overflow by Aathi
, 2 weeks ago
Connect to 10.108.26.232:80 [/10.108.26.232] failed: Connection timed out: connect
via GitHub by alirezaaa
, 1 year ago
Connect to jcenter.bintray.com:443 [jcenter.bintray.com/159.122.18.156, jcenter.bintray.com/5.153.35.248] failed: Connection timed out: connect
via Google Groups by Unknown author, 8 months ago
Connect to localhost:30076 [localhost/0:0:0:0:0:0:0:1] failed: Connection refused
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)	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 org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at com.amazonaws.http.conn.ClientConnectionManagerFactory$Handler.invoke(ClientConnectionManagerFactory.java:76)	at com.amazonaws.http.conn.$Proxy3.connect(Unknown Source)	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)	at com.amazonaws.http.apache.client.impl.SdkHttpClient.execute(SdkHttpClient.java:72)	at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:787)	at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:630)	at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:405)	at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:367)	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:318)	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3787)	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3729)	at com.amazonaws.services.s3.AmazonS3Client.getS3AccountOwner(AmazonS3Client.java:689)	at com.amazonaws.services.s3.AmazonS3Client.getS3AccountOwner(AmazonS3Client.java:681)	at alluxio.underfs.s3a.S3AUnderFileSystem.createInstance(S3AUnderFileSystem.java:161)	at alluxio.underfs.s3a.S3AUnderFileSystemFactory.create(S3AUnderFileSystemFactory.java:45)	at alluxio.underfs.UnderFileSystemRegistry.create(UnderFileSystemRegistry.java:114)	at alluxio.underfs.UnderFileSystem$Cache.get(UnderFileSystem.java:136)	at alluxio.underfs.UnderFileSystem.get(UnderFileSystem.java:207)	at alluxio.underfs.UnderFileSystem.get(UnderFileSystem.java:194)	at alluxio.master.file.FileSystemMaster$Metrics.registerGauges(FileSystemMaster.java:2715)	at alluxio.master.file.FileSystemMaster$Metrics.access$000(FileSystemMaster.java:2658)	at alluxio.master.file.FileSystemMaster.(FileSystemMaster.java:274)	at alluxio.master.file.FileSystemMaster.(FileSystemMaster.java:247)	at alluxio.master.AlluxioMaster.(AlluxioMaster.java:258)	at alluxio.master.AlluxioMaster$Factory.create(AlluxioMaster.java:208)	at alluxio.master.AlluxioMaster.main(AlluxioMaster.java:86)