Network /


Northflank uses a load balancer to direct traffic to your containers internally and externally. You can forward services, databases and storage to gain local access for development, or expose them for public access over the internet. Databases may also be configured to use TLS internally and externally.

Access a service, database, or storage locally

You can forward a service, database or storage for local access using the Northflank CLI.

You can view and copy the command to connect to a specific service, database or storage on its overview, in the local access section, or use the following commands:

  • To forward a specific service:

    sudo northflank forward service --projectId [project-name] --serviceId [service-name]
  • To forward a specific database or storage:

    sudo northflank forward addon --projectId [project-name] --addonId [addon-name]
  • To forward all ports in a project:

    sudo northflank forward all --projectId [project-name]

You can now access the service, database or storage locally.


Northflank uses a load balancer to direct traffic to your running containers, which means your services will not receive requests directly from user clients.

You can access the source IP of a request from the X-Forwarded-For header , which is attached to all HTTP/S requests by the Northflank load balancer.

You may need to define the number of proxies a request passes through to reach your service in your application, depending on the framework you are using. Northflank adds 1 proxy to this count.

© 2022 Northflank Ltd. All rights reserved.