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. ,
    Expert tip

    Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.

  2. ,
    Expert tip

    Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Solutions on the web

via talendforge.org by Unknown author, 1 year ago
Connection to :7432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via talendforge.org by Unknown author, 1 year ago
Connection to :7432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via Stack Overflow by Akshat
, 1 year ago
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via Stack Overflow by Michał
, 2 years ago
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via heroku.com by Unknown author, 2 years ago
The connection attempt failed.
java.net.ConnectException: Connection timed out: connect	at java.net.DualStackPlainSocketImpl.connect0(Native Method)	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)	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.PlainSocketImpl.connect(PlainSocketImpl.java:172)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at org.postgresql.core.PGStream.(PGStream.java:61)	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:129)	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65)	at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:149)	at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:35)	at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:22)	at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:47)	at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:30)	at org.postgresql.Driver.makeConnection(Driver.java:414)	at org.postgresql.Driver.connect(Driver.java:282)	at java.sql.DriverManager.getConnection(DriverManager.java:664)	at java.sql.DriverManager.getConnection(DriverManager.java:208)	at org.apache.spark.sql.execution.datasources.jdbc.JDBCRDD$$anonfun$getConnector$1.apply(JDBCRDD.scala:188)	at org.apache.spark.sql.execution.datasources.jdbc.JDBCRDD$$anonfun$getConnector$1.apply(JDBCRDD.scala:181)	at org.apache.spark.sql.execution.datasources.jdbc.JDBCRDD$.resolveTable(JDBCRDD.scala:121)	at org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation.(JDBCRelation.scala:91)	at org.apache.spark.sql.execution.datasources.jdbc.DefaultSource.createRelation(DefaultSource.scala:60)	at org.apache.spark.sql.execution.datasources.ResolvedDataSource$.apply(ResolvedDataSource.scala:158)	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:119)	at local_project.hawqload_0_1.HawqLoad.tJDBCInput_1Process(HawqLoad.java:1489)	at local_project.hawqload_0_1.HawqLoad.run(HawqLoad.java:1950)	at local_project.hawqload_0_1.HawqLoad.runJobInTOS(HawqLoad.java:1754)	at local_project.hawqload_0_1.HawqLoad.main(HawqLoad.java:1641)