|
-
Apr 19th, 2004, 11:05 PM
#1
Thread Starter
Lively Member
Socket Establishing Error !!
hello ,
this is related to java...sorry for asking in this section........
but i really got to solve this problem within 3 hourrs !!!
please co-operate !!
i got the following error
" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket "
the line in the code is :
con =DriverManager.getConnection("jdbc:microsoft:sqlserver://webtech:8080;databaseName=Storage","sa","sa");
---------------------------------
the port the server is listening is 8080 !! i also checked for the default port "1433" and its giving the same error.
i have tried all combinations in the connection sttring line by giving ip address instead of the server name and many others too....but its still giving me the same error .
Can anybody provide me the solution ?
thanx in advance
Prasad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|