---
title: Nodinite Logging Service Prerequisites – Service Account, SQL Rights, and Firewall
description: "Prerequisites for the Nodinite v7 Logging Service: what the Nodinite Portal sets (service account, port, TLS), and what you prepare yourself: MSDTC, Kerberos delegation, SQL Server rights for the Configuration and Log Databases, and firewall rules."
---

# Prerequisites for the Nodinite Logging Service

Prepare your environment for a successful <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Logging Service][] deployment. The Logging Service processes every [Log Event][Log Events], creates and maintains the [Log Databases][], and reads its settings from the [Configuration Database][ConfigDB], so most of its prerequisites are about SQL Server rights and network access.

In <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 the Logging Service is one of the [Core Services][]: its own [IIS][] web site, [installed][Install] with the Core Services package that you generate in the [Nodinite Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>. The overall v7 prerequisites are in the [Install Nodinite v7 prerequisites summary][Install Nodinite v7 prerequisites]; this page covers what is specific to the Logging Service.

## <i class="fal fa-network-wired" aria-hidden="true"></i> Understanding What the Logging Service Needs

<div class="mermaid">
graph LR
  subgraph "Nodinite Portal"
     roPortal(fa:fa-sliders Service account, port, TLS)
  end
  subgraph "Application Server (Core Services host)"
     roLoggingService(fa:fa-hard-drive Logging Service - IIS)
     roWebAPI(fa:fa-cloud-sun Web API - IIS)
  end
  subgraph "SQL Server"
     roConfigDatabase(fa:fa-database Configuration Database) --- | Linked Server | roLogDatabase(fa:fa-database Log Databases)
  end
  roPortal -.->|"generated package"| roLoggingService
  roWebAPI <--> | HTTPS, Portal ports | roLoggingService
  roLoggingService --- | SQL, DTC, Kerberos | roConfigDatabase
  roLoggingService --- | SQL, DTC, Kerberos | roLogDatabase
</div>

*Diagram: The Nodinite Portal sets how the Logging Service is hosted; you prepare the SQL Server rights, [MSDTC][], Kerberos, and firewall rules between the Logging Service, the [Web API][], and SQL Server.*

| What | Who sets it | Where |
| --- | --- | --- |
| Service account (identity) of the Logging Service | You, in the Portal | [Step 2: Auth – Service account defaults][Portal Service account defaults], or per service in [Step 4: Servers – Core platform services][Portal Core platform services] |
| Logging Service port | You, in the Portal | [Step 4: Servers – Core platform services][Portal Core platform services]; confirm in [Step 6: Allocated ports][Portal Allocated ports] |
| TLS domain name and certificate | You, in the Portal | [Step 4: Servers – Core host Configuration][Portal Core host TLS] |
| SQL Server type and connection string | You, in the Portal | [Step 3: Infrastructure – SQL Server connectivity][Portal SQL Server connectivity] |
| IIS site, application pool, bindings | The installer CLI | [Step 7: Run the CLI workflow][Portal Run the CLI] |
| MSDTC, Kerberos delegation, SQL Server rights, firewall | You, before you run the installer | This page |

*What the Portal and installer set, and what you prepare yourself.*

## <i class="fal fa-user-shield" aria-hidden="true"></i> Accounts and Rights at a Glance

<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>These rights apply when <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> runs on Windows Server. In the container runtimes (the <a href="https://docs.nodinite.com/install-and-update/troubleshooting/docker/overview/">Docker Sandbox</a>, Kubernetes, OpenShift, and Azure Container Apps), the Core Services run as self-hosted .NET 10 web applications without <a href="https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/">IIS</a>, so there are no application pools and no Windows user rights to grant, and users and clients sign in with OAuth 2.0 / OpenID Connect; see <a href="https://docs.nodinite.com/install-and-update/troubleshooting/runtime-environments/overview/">Runtime Environments</a>.</p></div>
</aside>

The Logging Service runs as its IIS application pool identity, set in the Portal ([Service account defaults][Portal Service account defaults], or per service in [Core platform services][Portal Core platform services]). It is the one Core Service that creates databases and grants access on them at run time, so it needs more SQL Server rights than the others. At install and update, the account that runs the installer CLI needs the same SQL Server rights instead; see [SQL Server Sysadmin Requirements][].

| Right | On what | Why | Without it |
| --- | --- | --- | --- |
| `Logon as a Service` and [IIS_IUSRS][IISAuthIISIUSRS] membership | The Core Services Server ([Windows rights](#what-windows-rights-does-the-logging-service-require)) | IIS grants the first to the pool identity when the pool starts and starts the worker process as a batch logon through IIS_IUSRS; a Group Policy that defines either right must keep the identity or IIS_IUSRS ([details][Logon IIS]) | The application pool doesn't start |
| A login plus `sysadmin`, or `dbcreator`, `diskadmin`, and `securityadmin` | Every SQL Server instance that gets [Log Databases][] ([Account rights](#account-rights)) | It deploys each Log Database as a data-tier application ([Deploy a Data-tier Application](https://learn.microsoft.com/en-us/sql/relational-databases/data-tier-applications/deploy-a-data-tier-application)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>). It owns each database it creates, and adds the [LogServiceUsers][] logins to the [LogAccessRoles][] there | No first Log Database, and no split later |
| `EXECUTE` | The [Configuration Database][ConfigDB] ([Nodinite databases](#nodinite-databases)) | It processes Log Events and runs maintenance through stored procedures | Processing and maintenance fail |
| `db_ddladmin` or `db_owner` | Only Log Databases it did not create (made by hand or moved in) | Index maintenance and shrink while [DatabaseMaintenance][] is on; on its own Log Databases it is the owner | Maintenance fails on those databases |
| `VIEW SERVER STATE` and `ALTER ANY AVAILABILITY GROUP`, `dbcreator` on each secondary, and a share in [AvailabilityGroupBackupPath][] | Every node, Always On only | It adds each new Log Database to the availability group and restores it on the secondaries | A new Log Database stays on the primary only, outside the group |
| [Trusted for delegation][] | The service identity, in Active Directory | It reaches a Log Database on another instance, and BizTalk tracking databases, through [Linked Servers][] ([Kerberos](#kerberos-configuration)) | Those calls fail with an anonymous login |
| A configured [MSDTC][] | Every SQL Server involved, when a Log Database is on another instance | A write to a remote Log Database inside a transaction becomes a distributed transaction ([DTC](#fa-box-check-microsoft-distributed-transaction-coordinator-dtc)) | Writes to that Log Database fail |
| Inbound on the Logging Service port | The Core Services Server, from the [Web API][] ([firewall](#what-firewall-settings-are-required-for-the-logging-service)) | The [Web Client][] shows the Logging Service's state through the Web API | The Web Client can't show its state |

*[SQL Server Sysadmin Requirements][] has the rights model to use when your policy blocks `sysadmin`, and [Create new Log Databases Manually][Create Manually] the way to run without `dbcreator`.*

### When the Core Services Run as Different Accounts

When the Logging Service has its own account, the other services don't get its rights, and it doesn't get theirs:

* Add every other Core Service identity that is not `sysadmin` to [LogServiceUsers][], so the Logging Service grants it access on each new Log Database. Create their logins first: the Logging Service never creates a login, and a missing one gives a Critical [Log Audit][Log Audits] *Failed to grant the role*.
* The Logging Service identity itself needs no entry in LogServiceUsers: it owns the Log Databases it creates and skips its own account.
* Give the Logging Service account its own login and the rights above on every instance and every Always On node; SQL logins are not replicated between nodes.
* The [Core Services Overview][Core Services Accounts] compares the rights of all services.

### Check the Logging Service After a Change

After you change its account or rights, restart its application pool in IIS Manager. Then open the bell next to your user name in the [Web Client][]: the Logging Service shows as online. Under **Administration** › **Settings** › **Log Databases**, the online Log Database (no End Date) is the one it writes new events to.

![The bell's status menu with the Logging Service online, then Administration, Settings, Log Databases with the online database selected][gif_StatusAfterRestart]  
*After a restart, the Logging Service is online again and writes to the online Log Database.*

## <i class="fal fa-box-check" aria-hidden="true"></i> Microsoft Distributed Transaction Coordinator (DTC)

The Windows service **Microsoft Distributed Transaction Coordinator (DTC)** matters to the [Logging Service][] only when a Log Database is on another SQL Server instance than the [Configuration Database][ConfigDB]: a write to that Log Database inside a transaction goes through a Linked Server and becomes a distributed transaction. With every Log Database on one instance, no distributed transaction starts. The home of these facts is [Configuration Database DTC][ConfigDB DTC]; configure the service as described in [MSDTC][].

<h2 id="what-windows-rights-does-the-logging-service-require"><i class="fab fa-windows" aria-hidden="true"></i> What Windows rights does the Logging Service require?</h2>

In <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7, the [Logging Service][] runs as its own IIS web site under the service account you set in the [Nodinite Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> ([Service account defaults][Portal Service account defaults], or per service in [Core platform services][Portal Core platform services]). It is an ASP.NET Core web application, not a Windows service. The installer CLI creates the site and application pool with that identity; don't change the identity in IIS Manager.

### Service Account Requirements

* Use a domain account or a [gMSA account][gMSA accounts]; a gMSA must exist in Active Directory before you run the installer
* The least-privilege Windows rights of an application pool identity: `Logon as a Service` and [IIS_IUSRS][IISAuthIISIUSRS] membership, no local administrator rights - see [IIS Application Pool Identities][Logon IIS]
* The service account must have the SQL Server rights in the next section
* This service should **always be running**: set its application pool to **Start Mode** `AlwaysRunning` and **Idle Time-out** `0`, or IIS stops an idle Logging Service and the event processing with it
* This service should **not** be clustered - Read more on the [Support page][SupportPage] to get technical assistance from our team

Changing [System Parameters][] or [Log Agent][] settings never requires a restart of the Logging Service.

### Kerberos Configuration

When the [Logging Service][] reaches a SQL Server instance other than the Configuration Database's (a remote Log Database, or BizTalk databases through Linked Servers), Kerberos delegation must be configured. See the [Trusted for delegation][] guide for step-by-step instructions.

<h2 id="what-sql-rights-does-the-logging-service-require"><i class="fal fa-database" aria-hidden="true"></i> What SQL Rights does the Logging Service require?</h2>

For security and performance reasons, the [Logging Service][] accesses the databases using its [service account][How to set Logon as a Service right]. Its SQL Server connection is the `ConnectionStrings:NodiniteConfig` value in its `appsettings.json`, which the CLI writes from the Portal ([SQL Server connectivity][Portal SQL Server connectivity]). The [SqlServer][] System Parameter holds the host and Linked Server name it uses when it creates a new Log Database.

The [Logging Service][] must have the following SQL rights assigned.

### Instance specific settings

For every [SQL Instance][] that gets [Log Databases][], add the account and grant it the rights detailed next.

#### Account

The service account used for the [Logging Service][] must be defined on each SQL Server node with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Configuration Database][ConfigDB] and [Log Databases][].

* <i class="fal fa-compress-alt" aria-hidden="true"></i> **Shrink Rights** – <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> can shrink old Log Databases (NOT the online one) while the [DatabaseMaintenance][] [System Parameter][System Parameters] is on. Shrink needs `db_owner`: the Logging Service owns every Log Database it creates, so it needs nothing extra for those; grant `db_owner` only on a Log Database added by hand. Shrink is skipped on an [Always On Availability Group][Always On Availability Groups]. For more information, read about [DBCC SHRINKFILE](https://learn.microsoft.com/en-us/sql/t-sql/database-console-commands/dbcc-shrinkfile-transact-sql)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>.

Use [SQL Server Sysadmin Requirements][] for a complete rights matrix and what to configure when the service account is not `sysadmin`.

<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>db_ddladmin</strong> lets the <a href="https://docs.nodinite.com/core-services/logging-service/overview/">Logging Service</a> reorganize fragmented <a href="https://docs.nodinite.com/core-services/log-databases/overview/">Log Database</a> indexes while <a href="https://docs.nodinite.com/administration/settings/system-parameters/databasemaintenance/">DatabaseMaintenance</a> is enabled, because ALTER INDEX needs ALTER on the table (<a href="https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-index-transact-sql#permissions">ALTER INDEX permissions</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>). It reorganizes the online Log Database too, and skips index maintenance on an Always On Availability Group. On the Log Databases it created, it has this right as the owner.</p></div>
</aside>

#### Account rights

|Scope|Permission / Role|Description|Microsoft Docs Link|  
|---|---|---|---|  
|Instance|public|Right to log on to SQL instances hosting the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Configuration and Log Databases|[database-level roles](https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/database-level-roles?view=sql-server-ver15#public)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|Instance|dbcreator|Creates each new Log Database and its files (also the files in [LogLocations][])|[dbcreator](https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/server-level-roles?view=sql-server-ver15#dbcreator)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|Instance|diskadmin|Manages the disk files of the Log Databases|[diskadmin](https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/server-level-roles?view=sql-server-ver15#fixed-server-level-roles)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|Instance|securityadmin|Includes `ALTER ANY LOGIN`, which a data-tier application deploy needs with `dbcreator`|[securityadmin](https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/server-level-roles?view=sql-server-ver15#fixed-server-level-roles)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  

``` sql
USE master
GO
ALTER SERVER ROLE dbcreator ADD MEMBER [DOMAIN\USER];
ALTER SERVER ROLE diskadmin ADD MEMBER [DOMAIN\USER];
ALTER SERVER ROLE securityadmin ADD MEMBER [DOMAIN\USER];
GO
```

*Replace [DOMAIN\USER] with the Windows **account** being used for the [Logging Service][]. The login must exist.*

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p><code>securityadmin</code> can grant server-level permissions, itself included, so it can make itself <code>sysadmin</code>; Microsoft says to treat it as equal to <code>sysadmin</code>. These roles are the step below <code>sysadmin</code>, not a strict minimum: your setup may need more, such as rights in <a href="#msdb">msdb</a>. Check that the next Log Database is created.</p></div>
</aside>

### Database specific settings

Apply settings on each and every SQL instance where <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> databases are hosted.

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>You must repeat the security settings on all nodes if you are using <strong>SQL Server High Availability</strong> (<a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/always-on-availability-groups/">Always On Availability Groups</a>).</p></div>
</aside>

#### MSDB

The Logging Service registers each new Log Database as a data-tier application, which SQL Server records in `msdb` (`dbo.sysdac_instances`); on an Always On Availability Group it registers it on every replica. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> creates no SQL Server Agent jobs and runs no DDL in `msdb`. `sysadmin` covers the registration. With the three roles instead, if a Log Database is not created, look for an `msdb` error in `DiagnosticsFiles\diagnostic.log.json` and grant what it names.

<i class="fal fa-repeat" aria-hidden="true"></i> On an Always On Availability Group, grant these rights on every node:

``` sql
  USE MASTER
  GO
  GRANT VIEW SERVER STATE TO [DOMAIN\USER]
  GRANT ALTER ANY AVAILABILITY GROUP TO [DOMAIN\USER];
  GO
```

*Replace [DOMAIN\USER] with the Windows **account** being used for the [Logging Service][].* The Login must exist.

When the Logging Service creates a Log Database on an Always On Availability Group, it also needs the backup share in [AvailabilityGroupBackupPath][], and `dbcreator` on each secondary replica with manual seeding, where it restores the new database.

#### Nodinite databases

|Database|Permission|Description|Microsoft Docs Link|  
|---|---|---|---|  
|Configuration Database|EXECUTE|Runs the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> stored procedures; the Configuration Database is never shrunk or reindexed by the Logging Service|[GRANT](https://learn.microsoft.com/en-us/sql/t-sql/statements/grant-transact-sql)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|Log Databases it created|Owner (`dbo`)|Comes with creating the database; covers processing, index maintenance, and shrink|[db_owner](https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/database-level-roles?view=sql-server-ver15#db_owner)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|Log Databases added by hand|db_ddladmin/db_owner|Index maintenance (db_ddladmin) and shrink (db_owner) while DatabaseMaintenance is enabled|[db_ddladmin](https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/database-level-roles?view=sql-server-ver15#db_ddladmin)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, [db_owner](https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/database-level-roles?view=sql-server-ver15#db_owner)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  

Grant **Execute** rights on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> stored procedures in the Configuration Database for the account used by the Logging Service:

``` sql
GRANT EXECUTE TO [Domain\\user]
```

*Replace [Domain\\user] with the Windows **account** being used for the [Logging Service][].*

<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>If you are reading this, you are probably also interested in the following <a href="https://docs.nodinite.com/administration/settings/system-parameters/overview/">System Parameters</a>:</p><ul>
<li><a href="https://docs.nodinite.com/administration/settings/system-parameters/logaccessroles/">LogAccessRoles</a> – Access rights to assign.</li>
<li><a href="https://docs.nodinite.com/administration/settings/system-parameters/logserviceusers/">LogServiceUsers</a> – Service Accounts to assign access rights on when creating new <a href="https://docs.nodinite.com/core-services/log-databases/overview/">Log Databases</a>.</li>
</ul></div>
</aside>

<h2 id="what-firewall-settings-are-required-for-the-logging-service"><i class="fal fa-shield-check" aria-hidden="true"></i> What Firewall settings are required for the Logging Service</h2>

The [Logging Service][] talks to the [Web API][] on the same server, to SQL Server, and to the domain controller. It creates the [Log Databases][] itself, starting with the first one, so the SQL Server ports must be open before it starts. The diagram shows each host, with the port on the arrow, drawn from the side that opens the connection.

<div class="mermaid">
graph LR
    subgraph "Nodinite Core Services Server"
        roLS["fa:fa-hard-drive Logging Service - IIS"]
        roWebAPI["fa:fa-cloud-sun Web API - IIS"]
    end
    subgraph "SQL Server"
        roConfig["fa:fa-database Configuration Database"]
        roLogDB["fa:fa-database Log Databases"]
    end
    subgraph "Domain Controller"
        roDC["fa:fa-server DNS, Kerberos, LDAP"]
    end
    roWebAPI -->|"Logging Service port"| roLS
    roLS -->|"Web API port"| roWebAPI
    roLS -->|"TCP 1433, MSDTC 135 + RPC"| roConfig
    roLS -->|"TCP 1433, MSDTC 135 + RPC"| roLogDB
    roConfig -->|"Linked Server"| roLogDB
    roLS -->|"53, 88, 389"| roDC
</div>

*Diagram: the Logging Service and the Web API call each other on their Portal ports, the Logging Service connects to the Configuration and Log Databases, and it uses the domain controller for DNS and Kerberos.*

### Ports Set in the Nodinite Portal

On Windows Server, each Core Service is its own IIS web site on its own port. You set the ports per environment in the [Nodinite Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> ([Step 4: Servers – Core platform services][Portal Core platform services]), and the Portal lists them in [Step 6: Allocated ports][Portal Allocated ports]. Ports in examples, such as 40000–40004, are examples only. The installer CLI configures the IIS bindings from these values; it doesn't change your firewall rules.

### Between the Logging Service and the Web API

The [Web Client][] shows the state of the Logging Service to [Users][]: it asks the [Web API][], which queries the Logging Service. The Web API finds the Logging Service through the [ProductArtifactsPath][] System Parameter, set by the installer.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Inbound|Core Services Server (Web API)|Core Services Server (Logging Service)|TCP (HTTPS)|Logging Service port|Status and operations requested from the Web Client|Set in the Portal; no rule needed unless a host firewall restricts local traffic|  
|Outbound|Core Services Server (Logging Service)|Core Services Server (Web API)|TCP (HTTPS)|Web API port|The Logging Service calls the Web API|Set in the Portal; same server|  

### Between the Logging Service and SQL Server

The SQL Server, MSDTC, and domain controller ports are shared by all <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> components; their full details live in [SQL Server Firewall Configuration][SQL Server Firewall].

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Core Services Server|SQL Server (Configuration and Log Databases)|TCP|1433|Read settings, process Log Events, create and maintain Log Databases|Default instance port; named instances and changed ports: [Core Services to SQL Server][FW SQL Core Services]|  
|Outbound|Core Services Server|SQL Server|UDP|1434|SQL Server Browser|Only for a named instance without a port in the connection string; see [SQL Server Browser Service][FW SQL Browser]|  
|Both|Core Services Server|SQL Server|TCP|135 + dynamic RPC range|[MSDTC][] distributed transactions|Configure MSDTC on both servers; see [Core Services to SQL Server][FW SQL Core Services]|  

The [Configuration Database][ConfigDB] reaches the Log Databases, and the BizTalk tracking databases when you log from BizTalk Server, through Linked Servers; those SQL Server to SQL Server ports are on the [Configuration Database prerequisites][FW Configuration Database Prerequisites].

### Between the Core Services Server and the domain controller

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Core Services Server|Domain Controller (DNS server)|TCP/UDP|53|DNS name resolution|Kerberos needs host names, not IP addresses; hosts-file entries are a fallback|  
|Outbound|Core Services Server|Domain Controller|TCP/UDP|88|Kerberos authentication and delegation to SQL Server|See [Kerberos Configuration](#kerberos-configuration) and [Domain Controller ports][FW SQL Domain Controller]|  
|Outbound|Core Services Server|Domain Controller|TCP/UDP|389|LDAP account and group lookups||  

### What to get right

* **Default ports**: the Logging Service and Web API ports have no fixed default; use the values in [Allocated ports][Portal Allocated ports]. SQL Server uses TCP 1433 unless you changed it.
* **Versions**: <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 replaced the fixed port of earlier versions with the Portal ports; see [Why do Nodinite use port 8000][FW Port 8000] when you clean up old rules.
* **DNS (53)**: the Core Services Server must resolve the SQL Server names, including Always On listeners, and its own TLS host name.

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions

Additional solutions to common problems and the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Logging Service][] FAQ exist in the [Troubleshooting][] user guide.

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

<i class="fal fa-rocket" aria-hidden="true"></i> [Install Logging Service][Install]  
<i class="fal fa-sliders-h" aria-hidden="true"></i> [Key System Parameters for Logging Service][Logging Service System Parameters]  
<i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> [Search Fields][]  

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

<i class="fal fa-database" aria-hidden="true"></i> [Configuration Database][ConfigDB]  
<i class="fal fa-box-full" aria-hidden="true"></i> [Core Services][]  
<i class="fal fa-key" aria-hidden="true"></i> [LogAccessRoles][]  
<i class="fal fa-database" aria-hidden="true"></i> [Log Databases][]  
<i class="fal fa-hard-drive" aria-hidden="true"></i> [Logging Service][]  
<i class="fal fa-key" aria-hidden="true"></i> [LogServiceUsers][]  
<i class="fal fa-file" aria-hidden="true"></i> [Message Types][]  
<i class="fal fa-box-check" aria-hidden="true"></i> [MSDTC][]  
<i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> [Search Fields][]  
<i class="fal fa-shield-check" aria-hidden="true"></i> [SQL Server Firewall][]  
<i class="fal fa-key" aria-hidden="true"></i> [System Parameters][]  
<i class="fal fa-clipboard-question" aria-hidden="true"></i> [Troubleshooting][]  
<i class="fal fa-shield-halved" aria-hidden="true"></i> [Trusted for delegation][]  
<i class="fal fa-trash-can" aria-hidden="true"></i> [Uninstall Logging Service][Uninstall]  
<i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Update Logging Service][Update]  
<i class="fal fa-user" aria-hidden="true"></i> [Users][]  
<i class="fal fa-cloud-sun" aria-hidden="true"></i> [Web API][]  

[Always On Availability Groups]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/always-on-availability-groups/
[AvailabilityGroupBackupPath]:https://docs.nodinite.com/administration/settings/system-parameters/availabilitygroupbackuppath/
[ConfigDB]:https://docs.nodinite.com/core-services/configuration-database/overview/
[ConfigDB DTC]:https://docs.nodinite.com/core-services/configuration-database/getting-started/prerequisites/#fa-box-check-microsoft-distributed-transaction-coordinator-dtc
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Core Services Accounts]:https://docs.nodinite.com/core-services/overview/#fa-user-shield-service-accounts-and-rights
[Create Manually]:https://docs.nodinite.com/core-services/log-databases/features/create-new-log-databases-manually/
[DatabaseMaintenance]:https://docs.nodinite.com/administration/settings/system-parameters/databasemaintenance/
[Docker Sandbox]:https://docs.nodinite.com/install-and-update/troubleshooting/docker/overview/
[FW Configuration Database Prerequisites]:https://docs.nodinite.com/core-services/configuration-database/getting-started/prerequisites/#fa-shield-check-what-firewall-settings-are-required-for-the-configuration-database
[FW Port 8000]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/why-do-nodinite-use-port-8000/
[FW SQL Browser]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/firewall/#sql-server-browser-service
[FW SQL Core Services]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/firewall/#core-services-to-sql-server
[FW SQL Domain Controller]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/firewall/#domain-controller
[gif_StatusAfterRestart]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/LoggingService/LoggingService_StatusAfterRestart.gif
[gMSA accounts]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/gmsa-accounts/
[How to set Logon as a Service right]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/logon-as-a-service-right/
[IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[IIS Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[IISAuthIISIUSRS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-authentication-settings/#fa-users-cog-iis_iusrs-group-membership
[Install]:https://docs.nodinite.com/core-services/logging-service/getting-started/install/
[Install Nodinite v7 prerequisites]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7/#fa-square-plus-prerequisites-summary
[Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-servers/
[Log Agent]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Events]:https://docs.nodinite.com/core-services/log-event/overview/
[LogAccessRoles]:https://docs.nodinite.com/administration/settings/system-parameters/logaccessroles/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Logging Service System Parameters]:https://docs.nodinite.com/core-services/logging-service/overview/#system-parameters
[LogLocations]:https://docs.nodinite.com/administration/settings/system-parameters/loglocations/
[Logon IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/logon-as-a-service-right/#iis-application-pool-identities
[LogServiceUsers]:https://docs.nodinite.com/administration/settings/system-parameters/logserviceusers/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[MSDTC]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/transactions-msdtc/
[NodinitePortal]:https://portal.nodinite.com/
[Portal Allocated ports]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/06-review-and-download/#allocated-ports
[Portal Core host TLS]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-host-tls
[Portal Core platform services]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Portal Run the CLI]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/#recommended-workflow
[Portal Service account defaults]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/#service-account-defaults
[Portal SQL Server connectivity]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/03-infrastructure/#configure-sql-server-connectivity
[ProductArtifactsPath]:https://docs.nodinite.com/administration/settings/system-parameters/productartifactspath/
[Runtime Environments]:https://docs.nodinite.com/install-and-update/troubleshooting/runtime-environments/overview/
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[SQL Instance]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-instance/overview/
[SQL Server Firewall]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/firewall/
[SQL Server Sysadmin Requirements]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-sysadmin-requirements/
[SqlServer]:https://docs.nodinite.com/administration/settings/system-parameters/sqlserver/
[SupportPage]:https://docs.nodinite.com/getting-started/support/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Troubleshooting]:https://docs.nodinite.com/core-services/logging-service/troubleshooting/overview/
[Trusted for delegation]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/trusted-for-delegation/
[Uninstall]:https://docs.nodinite.com/core-services/logging-service/troubleshooting/uninstall/
[Update]:https://docs.nodinite.com/core-services/logging-service/updating/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/