Overview
Forward a local port to a service container port. This allows you to access services running in your Qovery environment from your local machine.Command
--port flag specifying the port mapping in local_port:remote_port format.
Usage
Options
Examples
Forward a Single Port
Forward Multiple Ports
Access PostgreSQL Database
Access Application API Locally
Use Cases
Database Access
Database Access
Forward database ports to run queries, migrations, or admin tools locally without exposing databases publicly.
Debugging Applications
Debugging Applications
Access application debug ports or admin interfaces that aren’t exposed publicly.
Local Development
Local Development
Connect your local development environment to remote services (databases, APIs, microservices).
API Testing
API Testing
Test APIs or services that aren’t publicly accessible.
Tips
Troubleshooting
Port Already in Use
If the local port is already in use:Connection Drops
If the connection drops frequently:Related Commands
qovery shell- Execute commands in containerqovery log- View service logsqovery status- Check service status