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

Solutions on the web

via by Unknown author, 1 year ago
Network error IOException: Connection refused: connect at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>( My Code is.... String driverName = "net.sourceforge.jtds.jdbc.Driver"; String url = "jdbc:jtds:sqlserver Connection refused: connect	at Method)	at Source)	at Source)	at Source)	at Source)	at Source)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(	at net.sourceforge.jtds.jdbc.SharedSocket.(	at net.sourceforge.jtds.jdbc.ConnectionJDBC2.(	at net.sourceforge.jtds.jdbc.ConnectionJDBC3.(	at net.sourceforge.jtds.jdbc.Driver.connect(	at java.sql.DriverManager.getConnection(Unknown Source)	at java.sql.DriverManager.getConnection(Unknown Source)	at com.thanas.test.DBSCONNECTION.getConnection(	at com.thanas.test.DBSCONNECTION.main(