ngrok documentation home page
Search...
โK
Ask AI
Search...
Navigation
Using ngrok with
Using ngrok with PostgreSQL
Start
Products
Build
Reference
Pricing
Overview
API Gateway
Get Started
Deploy an API gateway with Kubernetes
Deploy a multicloud API gateway
Using Datadog
Device Gateway
Configure Secure Access to Remote IoT Devices
Linux
Raspberry Pi
Raspberry Pi OS (Raspbian)
Python SDK
Windows
Identity Aware Proxy
Secure with OAuth 2.0
Security Best Practices
Get Started
Security Quick Wins
HIPAA Compliance
Site-to-Site Connectivity
Get Started
End Customer Guide
Corporate Firewalls
SSH & RDP Remote Access
Using ngrok with
CGNAT
FastAPI
Flask
FTP, FTPS, SFTP
GoDaddy
Google Colab
gRPC
Java
Laravel
Minecraft
MongoDB
MySQL
NGINX
OpenVPN Connect
Outbound Proxies
PostgreSQL
Puppet
Real-Time Messaging Protocol (RTMP)
SMTP Mail Servers
SSH
Claude AI's MCP
Virtual hosts (MAMP, WAMP, etc)
Visual Studio / IIS Express
VSCode
Websockets
Docker
Using ngrok with
Using ngrok with PostgreSQL
Copy page
Copy page
After installing the database, you can connect to it using a standard ngrok TCP endpoint sending traffic to port
5432
.
Copy
Ask AI
ngrok
tcp
5432
TCP endpoints are only available on a free plan after
adding a valid payment method
to your account.
Once ngrok is forwarding traffic to your PostgreSQL service, you can use the TCP address provided to connect to it remotely.
Copy
Ask AI
psql
-h
0.tcp.ngrok.io
-p
12345
-U
postgres
-d
postgres
Was this page helpful?
Yes
No
Outbound Proxies
Puppet
Assistant
Responses are generated using AI and may contain mistakes.