JDBC Error

I have installed webMthods 8 and SQL server 2008 R2 and I have been trying to create webmethods tables using Database Component Configurator but I’m getting the following error :
Database Connection error:

CDC Error: java.sql.SQLException: [wm-cjdbc40-0034][SQLServer JDBC Driver]Error establishing socket to host and port: Reason: Connection refused: connect

You got some issues with your Database, try the below.

  1. First check if you DB is up and running by connecting from some Cleint app.
  2. Cross check if windows firewall is not blocking the requests.
  3. Port 1433 is open to accept the requests.
  4. try to replace localhost in place of ip.

Thanks guys , it working now. The port was not available and windows firewall was blocking the request.