> For the complete documentation index, see [llms.txt](https://docs.rmhpos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rmhpos.com/installation/install-microsoft-sql-server/installation-sql-server-tcpip-ports.md).

# Enable TCP/IP and open port 1433

In most cases, Microsoft SQL Server will be running on a remote computer. You need to enable TCP/IP for the SQL Server instance and open port 1433 in the Windows firewall to allow the RMH apps to communicate with SQL Server.

{% hint style="warning" %}
This topic demonstrates how to enable TCP/IP in **SQL Server Configuration Manager** and how to open port 1433 in **Windows Defender Firewall**. It is provided as an example only. There are many ways to enable TCP/IP and open port 1433. Refer to the official Microsoft documentation for managing protocols and opening ports.
{% endhint %}

## Enable TCP/IP

1. Open **SQL Server Configuration Manager**.
2. In the left pane, expand **SQL Server Network Configuration**.
3. Click **Protocols for \<SQL Server instance name>**.
4. In the right pane, right-click **TCP/IP** and select **Enable**.
5. A warning dialog displays with the message **Any changes made will be saved; however, they will not take effect until the service is stopped and restarted**. Click **OK**.
6. In the left pane, click **SQL Server Services**.
7. In the right pane, right-click **SQL Server** and select **Restart**.

## Open port 1433

1. Open **Windows Defender Firewall with Advanced Security**.
2. Click **Inbound Rules**.
3. Under **Actions**, click **New Rule**.
4. Select **Port** and click **Next**.
5. Select **TCP**.
6. Select **Specific local ports**, enter **1433**, and click **Next**.
7. Select **Allow connection** and click **Next**.
8. Accept all defaults (Domain, Private, Public) and click **Next**.
9. Enter a **Name** for the rule.
10. (Optional) Enter a **Description** for the rule.
11. Click **Finish**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.rmhpos.com/installation/install-microsoft-sql-server/installation-sql-server-tcpip-ports.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
