localhost does not exist anywhere except your own machine.
Why Tunneling Matters
Bindu provides built-in tunneling so you can expose a local agent to the internet during development and testing without deploying it to a server first. That makes it easier to share a work-in-progress agent or test webhook flows while keeping the code and runtime local.| Local-only development | Development with tunneling |
|---|---|
Agent is reachable only on localhost | Agent gets a public internet URL |
| Webhook testing is awkward or impossible | External services can call into your local agent |
| Sharing requires a deployment step | Others can access the tunneled URL directly |
| Iteration stays trapped in one machine | Development stays local while access becomes public |
| Production setup is overkill for quick feedback | Public access is available for testing and demos |
localhost barrier when you need public reachability.
Tunneling is for local development and testing only. Do not use it in production. For
production deployments, use proper hosting with SSL certificates and security
configurations.
How Bindu Tunneling Works
Bindu uses FRP (Fast Reverse Proxy) tunneling to create a secure connection between your local agent and a public URL.Behind the scenes: the first time you enable tunneling, Bindu automatically downloads
the official
frpc (FRP client) binary to ~/.bindu/frpc/. If your OS or firewall
prompts you about a new executable making outbound network connections, this is
expected behavior.The Public Address Model
Tunneling starts by enablinglaunch=True in bindufy():
Local First
Your agent still runs locally on
localhost:3773.Public URL
FRP assigns a random 12-character public subdomain such as
abc123xyz.tunnel.getbindu.com.Development Only
This is meant for testing and demos, not for production traffic.
The Lifecycle: Start, Tunnel, Forward
Under the hood, tunneling moves through three practical stages.Start
Your local agent starts on
localhost:3773 with launch=True enabled in
bindufy().That is the only change in the local setup. The rest of the agent continues to run
as usual on your machine.Tunnel
The FRP client connects to Binduโs tunnel server and creates a tunnel for the local
agent.At that point, a public URL is generated with a random subdomain, for example:
Forward
Requests sent to the public URL are forwarded to the local agent and the response
goes back through the same path.
- Local Agent Starts โ your agent runs on
localhost:3773 - Tunnel Created โ FRP client connects to Binduโs tunnel server
- Public URL Generated โ random 12-character subdomain assigned
- Traffic Forwarded โ requests to public URL are forwarded to your local agent
Local Testing Through The Tunnel
Once the tunnel is up, you can test the local agent from outside your machine.Basic Development Test
The tunneled agent is still your local process. If the process stops, the tunnel is
no longer useful because there is nothing listening behind it.
The Value Of A Public Development URL
Tunneling is most useful when local development has to interact with something outside the machine.Local development
Local development
Test your agent without deploying it. The agent runs on your machine, but the public
URL makes it reachable for quick external checks.
Webhook testing
Webhook testing
Use the tunnel when an external service needs to call back into your local agent
during development.
Sharing work in progress
Sharing work in progress
Quick demos
Quick demos
Use the tunnel for demos where local iteration matters more than production
deployment.
Limits And Troubleshooting
Tunneling is intentionally narrow in scope. It solves development reachability, not production hosting.Current Limits
- Development Only โ not suitable for production traffic
- Temporary URLs โ the 12-character subdomain changes on each restart
- No Persistence โ the tunnel closes when the agent stops
For Production
Do not use tunneling in production. Production workloads should use proper infrastructure instead of a development tunnel.Connection Timeout
If the tunnel fails to connect, verify your network allows outbound connections to the FRP server:Practical Boundaries
Good Fit
Tunneling is a good fit when you need quick public access to a local agent for
testing, demos, or webhook development.
Wrong Fit
It is the wrong fit for production traffic, persistent public infrastructure, or
anything that depends on strong uptime guarantees.