# Not able to createJDBC Adapter Connection

**URL:** <https://techcommunity.softwareag.com/t/not-able-to-createjdbc-adapter-connection/181568>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-Add-on-Products, SQL-Access, Mainframe-Integration, CONNX\
**Created:** [April 20, 2015, 7:02am UTC](https://techcommunity.softwareag.com/t/not-able-to-createjdbc-adapter-connection/181568 "2015-04-20T07:02:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![n\_b1](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@n\_b1](https://techcommunity.softwareag.com/u/n_b1)\
**Post date:** [April 20, 2015, 7:02am UTC](https://techcommunity.softwareag.com/t/not-able-to-createjdbc-adapter-connection/181568/1 "2015-04-20T07:02:15Z")

</div>

Hi,

I am not able to create Jdbc adapter connection and getting below error when I try to enable the connection.

“[ADA.1.204] Cannot connect to the database with DataSource class “com.wm.dd.jdbcx.sqlserver.SQLServerDataSource”.  
[SoftwareAG][SQLServer JDBC Driver]Error establishing socket to host and port: localHost:1433. Reason: Connection refused: connect”.

But when I changed the database server, I am able to do it.

I am trying to create the connection using the database which is hosted at my machine and Integration server is hosted at another machine.

Can any one please try to resolve this as soon as possible.

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![Tong\_Wang](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tong_wang/32/410_2.png) [@Tong\_Wang](https://techcommunity.softwareag.com/u/Tong_Wang)\
**Post date:** [April 20, 2015, 5:50pm UTC](https://techcommunity.softwareag.com/t/not-able-to-createjdbc-adapter-connection/181568/2 "2015-04-20T17:50:21Z")

</div>

Seems you can’t reach the DB server. Check with your network team (firewall may be blocking the connection)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:33pm UTC](https://techcommunity.softwareag.com/t/not-able-to-createjdbc-adapter-connection/181568/3 "2021-04-02T15:33:16Z")

</div>


