# Habilitar TCP/IP y abrir el puerto 1433

En la mayoría de los casos, Microsoft SQL Server se ejecutará en un equipo remoto. Debe habilitar TCP/IP para la instancia de SQL Server y abrir el puerto 1433 en el firewall de Windows para permitir que las aplicaciones RMH se comuniquen con SQL Server.

{% hint style="warning" %}
Este tema demuestra cómo habilitar TCP/IP en **SQL Server Configuration Manager** y cómo abrir el puerto 1433 en **Firewall de Windows Defender**. Se proporciona solo como ejemplo. Hay muchas formas de habilitar TCP/IP y abrir el puerto 1433. Consulte la documentación oficial de Microsoft para administrar protocolos y abrir puertos.
{% endhint %}

## Habilitar TCP/IP

1. Abrir **SQL Server Configuration Manager**.
2. En el panel izquierdo, expanda **Configuración de red de SQL Server**.
3. Haga clic en **Protocolos para \<SQL Server instance name>**.
4. En el panel derecho, haga clic con el botón derecho en **TCP/IP** y seleccione **Habilitar**.
5. Se muestra un cuadro de diálogo de advertencia con el mensaje **Cualquier cambio realizado se guardará; sin embargo, no surtirá efecto hasta que el servicio se detenga y se reinicie**. Haga clic en **Aceptar**.
6. En el panel izquierdo, haga clic en **Servicios de SQL Server**.
7. En el panel derecho, haga clic con el botón derecho en **SQL Server** y seleccione **Reinicie**.

## Abrir el puerto 1433

1. Abrir **Firewall de Windows Defender con seguridad avanzada**.
2. Haga clic en **Reglas de entrada**.
3. En **Acciones**, haga clic en **Nueva regla**.
4. Seleccione **Puerto** y haga clic en **Siguiente**.
5. Seleccione **TCP**.
6. Seleccione **Puertos locales específicos**, introduzca **1433**y haga clic en **Siguiente**.
7. Seleccione **Permitir la conexión** y haga clic en **Siguiente**.
8. Acepte todos los valores predeterminados (Dominio, Privado, Público) y haga clic en **Siguiente**.
9. Ingrese un **Nombre** para la regla.
10. (Opcional) Ingrese un **Descripción** para la regla.
11. Haga clic en **Finalizar**.


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
