Skip to Content.
Sympa Menu

freetds - Network error when accessing remote database

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Francois Bronsard" <bronsard AT iname.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Network error when accessing remote database
  • Date: Wed, 5 Sep 2001 18:02:35 -0400


Hi everyone,

I'm trying to access a remote DB using the freeTDS jdbc driver and I get
the following error:

java.sql.SQLException: Network error in Connection constructor- Connection
refused: no further information

at the call to getConnection in:
String url = "jdbc:freetds:sqlserver://129.73.2.148:1433/DasDB";
Class.forName("com.internetcds.jdbc.tds.Driver");
Connection connection = DriverManager.getConnection (url, "test",
"test");

When I access the DB locally it works fine. Any idea of what is wrong? I
checked that the DB can have network connection using TCP/IP and port
1433.

Any help greatly appreciated,
Francois Bronsard



  • Network error when accessing remote database, Francois Bronsard, 09/05/2001

Archive powered by MHonArc 2.6.24.

Top of Page