troubleshooting Question

In DB Connection: Error establishing socket

Avatar of mte01
mte01Flag for Lebanon asked on
Java
51 Comments4 Solutions387 ViewsLast Modified:
Hey experts,

conn = DriverManager.getConnection(dbURL,user,pwd);

where

static final String dbURL =
    "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=DBServer";
  static final String user = "sa";
  static final String pwd = "sa";

I am getting: "Error establishing socket"......any help??
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 4 Answers and 51 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 51 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros