---
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."
---

# <i class="fal fa-shield-check" aria-hidden="true"></i> Firewall Settings for the Azure Logic Apps Agent

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Azure Logic Apps Logging and Monitoring Agent][Azure Logic Apps Agent] talks to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, 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.

## <i class="fal fa-network-wired" aria-hidden="true"></i> Every hop at a glance

In <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></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.*

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>When the agent runs on the Core Services Server, which is the typical v7 installation, the hops between the <a href="https://docs.nodinite.com/core-services/monitoring-service/overview/">Monitoring Service</a>, the <a href="https://docs.nodinite.com/core-services/log-api/overview/">Log API</a>, and the agent stay on the same server, and <strong>no firewall rule is needed</strong> between them. The <a href="https://docs.nodinite.com/getting-started/overview/">Web Client</a> and <a href="https://docs.nodinite.com/core-services/web-api/overview/">Web API</a> reach the agent only through the Monitoring Service.</p></div>
</aside>

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>Stateful firewalls</strong>: 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.</p></div>
</aside>

## 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><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></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><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></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><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></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><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|
|Outbound|Agent Server|Storage account, `<account>.blob.core.windows.net`|TCP, HTTPS|443|Read and write the checkpoint|Logging and failed runs|

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><a href="https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/">Resource</a> 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 <a href="https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security">Configure Azure Storage firewalls and virtual networks</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> and <a href="https://learn.microsoft.com/en-us/azure/event-hubs/troubleshooting-guide">Troubleshoot connectivity issues - Azure Event Hubs</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>. To use the Azure portal through a firewall or proxy, see <a href="https://learn.microsoft.com/en-us/azure/azure-portal/azure-portal-safelist-urls?tabs=public-cloud">Safelist the Azure portal URLs on your firewall or proxy server</a>.</p></div>
</aside>

## 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|

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-square-plus" aria-hidden="true"></i> [Back to Prerequisites][Prerequisites]  
* <i class="fal fa-cloud" aria-hidden="true"></i> [Azure Access and Roles][Prerequisites - Azure access]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Enable Logic Apps Logging in Azure][Prerequisites - Enable Logging]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install the agent][Install]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-link" aria-hidden="true"></i> [AMQP Port Configuration - 5671 and 5672][]  
* <i class="fal fa-tower-broadcast" aria-hidden="true"></i> [Service Bus Relaying][]  
* <i class="fal fa-lock" aria-hidden="true"></i> [Hardening][]  
* <i class="fal fa-life-ring" aria-hidden="true"></i> [Troubleshooting][]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Azure Logic Apps Logging and Monitoring Agent][Azure Logic Apps Agent]  

[Agent Database]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/agent-database/
[Agents step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/05-agents/
[AMQP Port Configuration - 5671 and 5672]:https://docs.nodinite.com/install-and-update/troubleshooting/azure/amqp-port-configuration-5671-and-5672/
[Azure Logic Apps Agent]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/overview/
[Azure REST API]:https://learn.microsoft.com/en-us/rest/api/azure/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration/
[Configuration - Event Hubs]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-event-hubs/
[Configuration - Logging]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-logging/
[Configuration Database]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Hardening]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/how-to-perform-hardening-on-your-nodinite-installation/
[IIS]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/iis/
[Install]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/install/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[MicrosoftServiceBusRelayingLink]:https://learn.microsoft.com/en-us/azure/azure-relay/relay-faq/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[NodinitePortal]:https://portal.nodinite.com
[Port8000]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/why-do-nodinite-use-port-8000/
[Prerequisites]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/
[Prerequisites - Azure access]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/azure-access-and-roles/
[Prerequisites - Enable Logging]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/enable-logic-apps-logging-in-azure/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[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]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Service Bus Relaying]:https://docs.nodinite.com/install-and-update/troubleshooting/configure-service-bus-relaying-for-monitor-agents/
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/overview/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/
[Windows Server]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/windows-server/