i have some problems in java database connectivity.
the code compiles successfully but , when i execute the code it gives this error " error establishing socket connection".
i have applied several solutions e.g enable tcp/ip in sql server, checking the name of sql server., giving ip to network card(though i am working on a single pc no connectivity to network is available)., used mixed mode sql server authentication., used new login and passwords.
when i execute netstat on dos prompt no protocol or socket no is listed.
when i use telnet(computername) 1433 , it cannot make connection.
these are all the work which i have done but there is no result.
plz help me in this case.