# Connect to SQL Server on premise

**URL:** <https://community.dreamfactory.com/t/connect-to-sql-server-on-premise/1542>\
**Category:** Connecting to SQL\
**Created:** [September 29, 2015, 6:48am UTC](https://community.dreamfactory.com/t/connect-to-sql-server-on-premise/1542 "2015-09-29T06:48:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dparrow](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@dparrow](https://community.dreamfactory.com/u/dparrow)\
**Post date:** [September 29, 2015, 6:48am UTC](https://community.dreamfactory.com/t/connect-to-sql-server-on-premise/1542/1 "2015-09-29T06:48:55Z")

</div>

I have a REST API using DreamFactory deployed on Azure. Can the REST API connect to the SQL Server on premise?

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [September 29, 2015, 2:15pm UTC](https://community.dreamfactory.com/t/connect-to-sql-server-on-premise/1542/2 "2015-09-29T14:15:15Z")

</div>

As long as your on-premise SQL Server is publicly available and accepts remote connections from your Azure server and the user credentials you authenticate with are set up for remote access, yes.
