Guys
I came across the same problem
> [wm-cjdbc33-0009][SQLServer JDBC Driver]Error establishing
> socket. Connection refused: connect
I would share my story so someone will benefit someday.
I do not know if it was microsoft firewall or mcafee firewall or SP2 or what, but my working system one fine morning stopped connecting. Ofcourse i tried to connect after disabling the firewalls and had no luck.
The system was IS4.6 and the database alias thing just wont connect in fact it did not give any such meaningful error for me, it just said
“com.wm.app.b2b.server.DBConnectionException: Connection refused: no further information”
I was initially using the TDS driver, so I tried connecting SQL server driver, still no luck. So I wrote a java client to see if I could really connect that is when I got the error
“Error establishing socket. Connection refused: connect”.
I checked the network properties from SQL SERVER Enterprise Manager to make sure that the port was enabled and it WAS.
But when i tried to telnet it I realised that the port was not listening. I disabled the tcpip connection from enterprise manager and enabled it and it started working.
I then went ahead and installed SP3 for sql server and it looks like it had solved the problem.
So my small advice, ensure that the server is listening in the port by telnetting it even though it says else where that it is listening.
Thahir
#Adapters-and-E-Standards#Integration-Server-and-ESB#webMethods