Interview Question in Sql Server 2000


 

Interview Question :: Java and sql Server

How i can connect java with SQL server??

I have the driver of microsoft for jdbc .

My class compilation dont generate Errors.
but if I excute my class , then try the next exception...

java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.

Whats is the problem??

Thanks..!
by ksk