---
title: Firewall Settings for the Nodinite Azure Logic Apps Agent
description: "Every firewall rule the Nodinite Azure Logic Apps agent needs, hop by hop: Monitoring Service, Log API, SQL Server, Microsoft Entra ID, Azure Resource Manager, run history, Event Hubs (AMQP 5671, 5672, or 443), Storage, DNS, and proxy."
---

# :fa-shield-check: Firewall Settings for the Azure Logic Apps Agent

The :Nodinite: [Azure Logic Apps Logging and Monitoring Agent][Azure Logic Apps Agent] talks to :Nodinite:, to SQL Server, and to several Azure services, and each hop needs its own firewall rule. A missed rule rarely gives a clear error: logging just stops, or a Logic App shows as unavailable. This page is the one home for the ports of this agent, hop by hop; the [Prerequisites][] hub, the [Install][], [Configuration][], and [Troubleshooting][] pages link here.

## :fa-network-wired: Every hop at a glance

In :Nodinite: v7 on [Windows Server][], every [Core Service][Core Services] and every agent is its own [IIS][] web site with its own port, set per environment in the :Nodinite: [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup> ([Servers step][] for the Core Services, [Agents step][] for the agent). The diagram shows the agent on its own server, so that every hop is visible:

<div class="mermaid">
graph LR
    subgraph CS["fa:fa-server Nodinite Core Services Server"]
        MS["fa:fa-watch-fitness Monitoring Service"]
        LAPI["fa:fa-cloud-arrow-down Log API"]
        LS["fa:fa-hard-drive Logging Service"]
    end
    subgraph AS["fa:fa-server Nodinite Agent Server"]
        AG["fa:fa-monitor-waveform Logic Apps agent<br/>IIS web site"]
    end
    subgraph SQL["fa:fa-database SQL Server"]
        CDB["Configuration Database"]
        LDB["Log Databases"]
        ADB["Agent Database"]
    end
    subgraph AZ["fa:fa-cloud Target: Azure"]
        ENTRA["Microsoft Entra ID<br/>login.microsoftonline.com"]
        ARM["Azure Resource Manager<br/>management.azure.com"]
        RH["Run history content<br/>*.logic.azure.com, *.azurewebsites.net"]
        EH["Event Hubs<br/>*.servicebus.windows.net"]
        ST["Storage<br/>*.blob.core.windows.net"]
    end
    subgraph NET["fa:fa-network-wired Network services"]
        DNS["DNS"]
        PX["Proxy, optional"]
    end
    MS -->|"Agent port (Portal)"| AG
    AG -->|"Log API port (Portal)"| LAPI
    AG -->|1433| ADB
    MS -->|1433| CDB
    LAPI -->|1433| LDB
    LS -->|1433| LDB
    AG -->|443| ENTRA
    AG -->|443| ARM
    AG -->|443| RH
    AG -->|"5671, 5672 or 443"| EH
    AG -->|443| ST
    AG -->|53| DNS
    AG -.->|"Proxy port"| PX
</div>

*Diagram: Every arrow starts at the side that opens the connection and shows its port. The [Monitoring Service][], [Log API][], and [Logging Service][] run on the Core Services Server; the [Agent Database][], [Configuration Database][], and [Log Databases][] on SQL Server.*

>[!NOTE]
>When the agent runs on the Core Services Server, which is the typical v7 installation, the hops between the [Monitoring Service][], the [Log API][], and the agent stay on the same server, and **no firewall rule is needed** between them. The [Web Client][] and [Web API][] reach the agent only through the Monitoring Service.

>[!IMPORTANT]
>**Stateful firewalls**: Windows Firewall and most network firewalls are stateful, so response traffic for an outbound connection is allowed automatically. The tables list only the direction that opens each connection.

## Between the Monitoring Service and the Logic Apps agent

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Inbound|Core Services Server|Agent Server|TCP, HTTP or HTTPS|Agent port, set per environment in the [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>|Monitoring, remote actions, and remote configuration|v7. Only when the agent is on another server. Use HTTPS; see [hardening][Hardening]|
|Inbound|Core Services Server|Agent Server|TCP|[8000][Port8000]|Monitoring Service to agent|⚠️ Legacy v6 Windows Service only|
|Outbound|Core Services Server and Agent Server|Azure Relay, `*.servicebus.windows.net`|TCP|443|[Service Bus Relaying][] when :Nodinite: and the agent are on different networks|Only with relayed connections. Hybrid Connections use WebSockets over TLS on 443 only; allow the relay host by DNS name, not by IP address. See ['Azure Relay FAQs'][MicrosoftServiceBusRelayingLink]<sup>:fa-arrow-up-right-from-square:</sup>|

## Between the Logic Apps agent and the Log API

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Outbound|Agent Server|Core Services Server|TCP, HTTP or HTTPS|Log API port, set per environment in the [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>|Post [Log Events][Log Event]|The URL is the **LogAPI URI** on the [Logging tab][Configuration - Logging], for example `https://nodinite.contoso.com:40002/LogAPI/`. There is no fixed 80 or 443 default in v7|

## Between the Logic Apps agent and SQL Server

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Outbound|Agent Server|SQL Server|TCP|1433|[Agent Database][]|1433 is the default instance port. A named instance uses its own port, and UDP 1434 for SQL Server Browser if you don't set the port in the connection string|

## Between the Logic Apps agent and Azure

The agent opens every connection to Azure; no inbound rule is needed in Azure.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Outbound|Agent Server|Microsoft Entra ID, `login.microsoftonline.com`|TCP, HTTPS|443|Get tokens for the App Registration|Required for all features|
|Outbound|Agent Server|Azure Resource Manager, `management.azure.com`|TCP, HTTPS|443|[Azure REST API][]: discovery, monitoring, run history, remote actions|Required for all features|
|Outbound|Agent Server|Run history content: `*.logic.azure.com` (Consumption), `<logic-app-name>.azurewebsites.net` (Standard)|TCP, HTTPS|443|Download the input and output payloads of logged Actions|Logging with payloads. If the workflow restricts run history access by caller IP, add the Agent Server's outbound IP address; see [Secure access to run history data](https://learn.microsoft.com/en-us/azure/logic-apps/set-up-security-permissions#access-to-workflow-run-history)<sup>:fa-arrow-up-right-from-square:</sup>|
|Outbound|Agent Server|Event Hubs namespace, `<namespace>.servicebus.windows.net`|TCP, AMQP over TLS|5671, 5672|Read the diagnostic stream|Logging and failed runs. See [AMQP Port Configuration - 5671 and 5672][]|
|Outbound|Agent Server|Event Hubs namespace, `<namespace>.servicebus.windows.net`|TCP, HTTPS|443|Event Hubs management operations, and AMQP over WebSockets|Always needed with AMQP. When only 443 is open, AMQP over WebSockets is the alternative; see the [Event Hubs firewall FAQ](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-faq#what-ports-do-i-need-to-open-on-the-firewall-)<sup>:fa-arrow-up-right-from-square:</sup>|
|Outbound|Agent Server|Storage account, `<account>.blob.core.windows.net`|TCP, HTTPS|443|Read and write the checkpoint|Logging and failed runs|

>[!TIP]
>[Resource][Resources] firewalls in Azure can block the agent even when your own firewall allows the traffic: Event Hubs IP filters, Storage account firewalls, network access restrictions on Standard Logic Apps, and Private Endpoints. Add the Agent Server's outbound IP address or network to each one; see [Configure Azure Storage firewalls and virtual networks](https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security)<sup>:fa-arrow-up-right-from-square:</sup> and [Troubleshoot connectivity issues - Azure Event Hubs](https://learn.microsoft.com/en-us/azure/event-hubs/troubleshooting-guide)<sup>:fa-arrow-up-right-from-square:</sup>. To use the Azure portal through a firewall or proxy, see [Safelist the Azure portal URLs on your firewall or proxy server][].

## Between the Core Services and SQL Server

These hops are not specific to this agent, but Logging fails without them.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Outbound|Core Services Server|SQL Server|TCP|1433|Monitoring Service, Log API, and [Logging Service][] to the [Configuration Database][] and the [Log Databases][]|Named instances: see the SQL Server note above|

## DNS and proxy

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Outbound|Agent Server|DNS server|TCP and UDP|53|Resolve the Core Services Server, SQL Server, and all Azure hostnames|You can use the local `hosts` file for internal names, but not for Azure hostnames|
|Outbound|Agent Server|Proxy server|TCP|Your proxy port|Reach Event Hubs through the **WebProxy** set on an [Event Hub entry][Configuration - Event Hubs]|Optional. Allow the Azure hostnames above on the proxy|

## :fa-hand-point-right: Next Steps

* :fa-square-plus: [Back to Prerequisites][Prerequisites]  
* :fa-cloud: [Azure Access and Roles][Prerequisites - Azure access]  
* :fa-hard-drive: [Enable Logic Apps Logging in Azure][Prerequisites - Enable Logging]  
* :fa-rocket: [Install the agent][Install]  

## :fa-link-horizontal: Related Topics

* :fa-link: [AMQP Port Configuration - 5671 and 5672][]  
* :fa-tower-broadcast: [Service Bus Relaying][]  
* :fa-lock: [Hardening][]  
* :fa-life-ring: [Troubleshooting][]  
* :fa-hard-drive: [Azure Logic Apps Logging and Monitoring Agent][Azure Logic Apps Agent]  

[Agent Database]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Agent%20Database.md
[Agents step]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/05%20-%20Agents.md
[AMQP Port Configuration - 5671 and 5672]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/AMQP%20Port%20Configuration%20-%205671%20and%205672.md
[Azure Logic Apps Agent]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Overview.md
[Azure REST API]:https://learn.microsoft.com/en-us/rest/api/azure/
[Configuration]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3.%20Configuration.md
[Configuration - Event Hubs]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3B.%20Configuration%20-%20Event%20Hubs.md
[Configuration - Logging]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3C.%20Configuration%20-%20Logging.md
[Configuration Database]:{ndr}/Core%20Services/Configuration%20Database/Overview.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[Hardening]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/How%20to%20perform%20hardening%20on%20your%20Nodinite%20installation.md
[IIS]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/IIS.md
[Install]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/2.%20Install.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[MicrosoftServiceBusRelayingLink]:https://learn.microsoft.com/en-us/azure/azure-relay/relay-faq/
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[NodinitePortal]:https://portal.nodinite.com
[Port8000]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Why%20do%20Nodinite%20use%20port%208000.md
[Prerequisites]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/1.%20Prerequisites.md
[Prerequisites - Azure access]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/Prerequisites/Azure%20Access%20and%20Roles.md
[Prerequisites - Enable Logging]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/Prerequisites/Enable%20Logic%20Apps%20Logging%20in%20Azure.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Safelist the Azure portal URLs on your firewall or proxy server]:https://learn.microsoft.com/en-us/azure/azure-portal/azure-portal-safelist-urls?tabs=public-cloud
[Servers step]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-platform-services
[Service Bus Relaying]:{ndr}/Install%20and%20Update/Troubleshooting/Configure%20Service%20Bus%20Relaying%20for%20Monitor%20Agents.md
[Troubleshooting]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Troubleshooting/Overview.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md
[Windows Server]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/Windows%20Server.md