# SQL Server Connector

**URL:** <https://forum.camunda.io/t/sql-server-connector/55951>\
**Category:** Discussion & Questions\
**Tags:** connectors\
**Created:** [October 12, 2024, 8:58pm UTC](https://forum.camunda.io/t/sql-server-connector/55951 "2024-10-12T20:58:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![omar-awwad](https://forum.camunda.io/user_avatar/forum.camunda.io/omar-awwad/32/29023_2.png) [@omar-awwad](https://forum.camunda.io/u/omar-awwad)\
**Post date:** [October 12, 2024, 8:58pm UTC](https://forum.camunda.io/t/sql-server-connector/55951/1 "2024-10-12T20:58:02Z")

</div>

I’m trying the latest Camunda version 8.6 on local docker images,  
[[camunda-platform/docker-compose/camunda-8.6 at main · camunda/camunda-platform · GitHub](https://github.com/camunda/camunda-platform/tree/main/docker-compose/camunda-8.6)]  
with latest desktop modeler 5.28 .

I’m trying a zebee c# client to deploy and run sample model that connects to local SQL server DB , using sql connector.

I filled all the required probertites for SQL connector , as below :

 ![image](https://forum.camunda.io/uploads/default/original/3X/7/f/7fdbdd799b7014b67a3402ddd404083d42713eac.png)

 ![image](https://forum.camunda.io/uploads/default/original/3X/2/5/257f8f06d7d55f31c3a430ce4e3f167bacab2548.png)

But get this error :

Cannot create the Database connection: The TCP/IP connection to the host OMARLAP, port 1433 has failed. Error: “OMARLAP. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.”.

Knowing that I can access the SQL Server instance on my local machine with same credentials without any issue , also I configured the instance to accept TCP/IP connections from SQL Server configuration manager.

what might be the the issue ?

---

<div class="post-metadata">

**Author:** ![hassang](https://forum.camunda.io/user_avatar/forum.camunda.io/hassang/32/16498_2.png) [@hassang](https://forum.camunda.io/u/hassang)\
**Post date:** [October 13, 2024, 9:29am UTC](https://forum.camunda.io/t/sql-server-connector/55951/2 "2024-10-13T09:29:24Z")

</div>

You are connecting from inside the Camunda **container** to a database running on the host machine so try using the actual IP address of your machine as Host.

On **Windows** :  
ipconfig

On **Linux/macOS** :  
ifconfig

-Make sure TCP/IP is set to listen on all IPs, including `0.0.0.0`, or at least the IP Docker containers can access.  
-Ensure “Allow remote connections to this server” is checked.

> **[Server configuration: remote access - SQL Server](https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/configure-the-remote-access-server-configuration-option?view=sql-server-ver16#SSMSProcedure)**
>
> Learn about alternatives to the deprecated remote access option. View other sources for troubleshooting issues with SQL Server connections.

---

<div class="post-metadata">

**Author:** ![omar-awwad](https://forum.camunda.io/user_avatar/forum.camunda.io/omar-awwad/32/29023_2.png) [@omar-awwad](https://forum.camunda.io/u/omar-awwad)\
**Post date:** [October 13, 2024, 1:56pm UTC](https://forum.camunda.io/t/sql-server-connector/55951/3 "2024-10-13T13:56:35Z")

</div>

Thank you @hassang for your help ,

I used the IP address of my machine (as I’m connected to internet ) , and things worked ok for me.

 ![image](https://forum.camunda.io/uploads/default/original/3X/2/d/2d29d8f8fd695a85a93642eab079005bcf0d95bd.png)

![image](https://forum.camunda.io/uploads/default/original/3X/f/4/f4ce0148c920f4f594b2de88d0b9212c1afbbd7d.png)

Thanks very much for continuous support.

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [October 20, 2024, 1:57pm UTC](https://forum.camunda.io/t/sql-server-connector/55951/4 "2024-10-20T13:57:30Z")

</div>

Closed on October 20, 2024, 1:57pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
