Install Private Connect
Authenticate
Run this on both machines:This opens your browser for login. On headless servers, it shows a code to enter from any device.For CI/CD or headless servers:Or use an environment variable:
Expose a Service
On the machine with the service you want to expose (e.g., your local database):You’ll see output like:Common services with auto-naming:
That’s It!
You’ve just created your first secure tunnel. The service on machine A is now accessible from machine B atlocalhost:5432. No VPN, no firewall rules, no configuration changes.
Quick Test (No Authentication)
Want to try it without signing up? Use temporary tunnels:Common First Tasks
Share Your Environment with a Teammate
Once you have services exposed, share them instantly:Clone a Teammate’s Setup
Join your team and clone an existing environment:Create a Public URL for Webhooks
Expose a local service with a public URL for webhook testing:Run as Background Daemon
Keep services always available:Project-Based Configuration
Createpconnect.yml in your project root:
Verify Everything Works
Run diagnostics to check your setup:Example Output
Here’s what a typical session looks like:Next Steps
Installation Options
Detailed installation for all platforms, including building from source
CLI Reference
Complete command reference and all available options
Use Cases
Real-world scenarios and examples
Advanced Features
Background daemon, project configs, local DNS, and more