Skip to main content

Forwarding Traffic to External Services

Aside from ports on your localhost, ngrok Agents can forward traffic to any address or URL reachable from the agent.

HTTP non-local forwarding

The following example demonstrates how to forward traffic to an HTTP server running on your network at 192.168.1.2:80:

Loading…

TCP non-local forwarding

The following example demonstrates how to forward traffic to a Postgres server running on your network at 192.168.1.2:5432:

Loading…