I have installed wm 7 on my computer and i’m trying to connect to sql 2005 on the same system through jdbc pools. however the test fails with this message: Error establishing socket to host and port: MY-B7787E9C546F:1433. Reason: Connection refused: connect
i have substituted the server name with the IP address of the machine too but it does not work. telnet session to the same server and port also fails with the same error. i have enabled the tcp/ip connection in the sql server and also provided the port number. dont know what else to do… pls help!! counting on you guys!. thanks
i havent enabled the jdbc adapters connection. in fact i havent configured it yet. i’m sure sql server is not listening on the port 1433 at all. dont know what else to do.
In the MSSQL Server 2005 there has been a change in the way TCP\IP Communication is done when compared to 2000. In 2005 they have provided the functionality of Dynamic ports for TCP\IP communication. While giving the URL for the JDBC pool do not use any specific port number, just leave that blank like this