Access running code locally
You can forward a deployment for local development and access using the Northflank CLI.
Your deployment must be running and have at least one port configured.
You can view and copy the command to connect to a deployment on the specific deployment's overview, in the local access section, or use the following commands:
- To forward a specific service:
sudo northflank forward service --project [project-name] --service [service-name]
- To forward all ports in a project:
sudo northflank forward all --project [project-name]
You can now connect to your deployment locally on the available ports.
Networking on Northflank
Configure ports and security for your deployments.
Add a domain
Add your domain name to your Northflank account.
Scale your services
Increase the resources available to your services, and the number of instances to deploy.
Add persistent storage
Create and use persistent storage in your project's applications and services.