Jump to content
We've recently updated our Privacy Statement, available here ×

java.sql.SQLTransientConnectionException: java.net.ConnectException: Connection refused: connect ,how to avoid this


AISU
Go to solution Solved by ghudson_1,

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Treat this error message as if it was occurring within any java-based program or application.  Googling the error message returns a few nice article which explain that the port your socket is connecting to seems not to be listening.  Here are some descriptions and explanations:

http://javarevisited.blogspot.com/2013/02/java-net-ConnectException-Connection-refused.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...