PgrokSelf-hosted multi-tenant HTTP and TCP tunnel platform
Pgrok vs Portr
How Pgrok and Portr compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to ngrok.
At a glance
- Pgrok has more GitHub stars (3.7k vs 3.2k).
- Pgrok was updated more recently (last commit 5 days ago, Portr 26 days ago).
- Pgrok uses MIT (permissive); Portr uses AGPL-3.0 (copyleft).
- Both can be self-hosted.
Side by side
| Pgrok | Portr | |
|---|---|---|
| GitHub stars | ★ 3,652 | ★ 3,195 |
| Forks | 134 | 115 |
| Last commit | 5 days ago | 26 days ago |
| Latest version | v1.8.0 | v2.1.0 |
| Repository started | March 2023 | November 2023 |
| License | MIT · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Yes | Yes |
| Platforms | Linux, macOS, Windows, CLI, Docker | CLI, Docker |
| Main language | Go | Go |
| Alternative to | ngrok | ngrok |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
Pgrok
pgrok exposes local services through SSH reverse tunnels with stable subdomains and OIDC single sign-on on infrastructure you operate.
Key features
- Self-hosted pgrokd control plane with custom domain
- OIDC SSO for tunnel credentials and subdomains
- HTTP path-based routing to local services
- Raw TCP tunnels via SSH reverse forwarding
- PostgreSQL-backed multi-tenant accounts
- CLI config in standard OS config directories
Portr
Portr exposes local HTTP, TCP, and WebSocket services on public URLs through a tunnel server you control, with a local inspector, request replay, SQLite logs, and team access.
Key features
- HTTP, TCP and WebSocket tunnels
- Local request inspector
- Request replay from logs
- CLI access to stored requests
- Docker Compose tunnel labels
- Reserved subdomains