Results 1 to 3 of 3

Thread: Socket Establishing Error !!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    75

    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

  2. #2
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    Why don't you ask in a Java forum?
    Please rate my post.

  3. #3
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    Or do you possibly have a firewall blocking connections to your SQL server?
    Please rate my post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width