ping 196.219.106.152 -t
is working smoothle and this is the ip im trying to access and it is the local host by the way
is there a problem n this line:
|
Code:
|
con=DriverManager.getConnection("jdbc:microsoft:sqlserver://196.219.106.152:1433;databaseName=XtreamDB;selectMethod=cursor;", "",""); |
or:
|
Code:
|
con=DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;databaseName=XtreamDB;selectMethod=cursor;", "",""); |