> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Default network ports

> Reference the default TCP ports used by Midaz and Lerian plugins so you can open the right firewall rules when deploying in self-hosted environments.

> [!CAUTION]
>
> These are the default internal ports. If you're using Docker Compose, Kubernetes, or a cloud provider, port mappings may differ. Always verify your configuration before exposing services publicly.

## Core services

***

| Service | Port |
| :- | :- |
| Midaz Ledger | 3002 |
| Midaz Tracer | 4020 |
| Tracer reservation (gRPC) | 4021 |
| Lerian Console | 8081 |

## Platform services and other products

***

Each service runs independently and may expose its own API or background processes.

| Service | Port |
| :- | :- |
| Access Manager - Auth | 4000 |
| Access Manager - Identity | 4001 |
| Reporter Manager | 4005 |
| Matcher | 4018 |
| Lender | 8080 |

The Midaz Ledger reaches Tracer on port 4021. Allow that traffic when Tracer checks ledger transactions.

For releases that adopt the health port, charts and examples configure the health listener on `8099`. `HEALTH_PORT` must be set; without it, the health listener does not start. Keep this port internal. Older releases can use other probe ports. See [Health and readiness](https://docs.lerian.studio/en/reference/health-and-readiness.md).

> [!TIP]
>
> For better security, expose only necessary ports (like Console) and restrict others using firewall rules or internal networking policies.

## Customization

***

You can change the default ports using environment variables, Docker Compose files, or Helm values, depending on your setup. If you override a port, make sure to update any references across your infrastructure, load balancers, and API consumers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.