Add a tunnel
1
Create the tunnel in Cloudflare
In Cloudflare, open Zero Trust > Networks > Tunnels and create a tunnel with the Cloudflared connector. Copy the token from the install command. You don’t install anything yourself.
2
Add it to your project
Open your project, go to Networking > Tunnels, and click Add tunnel. Choose the port your app listens on and paste the token. Pasting the whole
cloudflared service install … command works too.3
Add a public hostname in Cloudflare
In the tunnel’s settings in Cloudflare, add a public hostname, such as
admin.example.com, with service type HTTP and URL app:<port>. Use the same port you chose in Pxxl.How it works
- Your app is reachable from the connector as
app, so the service in Cloudflare is alwayshttp://app:<port>. - The port can be any port your app listens on, not only its main one. Expose an admin port through the tunnel while the main port stays on your Pxxl domain.
- Every replica gets its own connector, so Cloudflare shares traffic between them.
- The connector only connects out to Cloudflare. No port is opened on Pxxl for it.
- It follows your app through deploys, restarts and server moves within about 30 seconds. No redeploy is needed to add or remove a tunnel.
Status
When the hostname fails
- 502: Cloudflare reached the connector, but your app didn’t answer on that port. Check that the port in Cloudflare matches the one your app listens on, and that the app listens on
0.0.0.0, not only127.0.0.1. - 404: the hostname isn’t set up on the tunnel in Cloudflare.
- Apps deployed before November 9, 2026 need one redeploy before a tunnel can reach them.
Public access
Networking > Public access decides whether your Pxxl domains reach the app. Turn it off to keep the app reachable only through its tunnels and private networking. When it’s off:- Every domain of the project, including its Pxxl address, shows an unavailable page. Domains you add meanwhile stay offline too.
- Webhooks such as GitHub, Stripe and payment callbacks stop arriving unless they come through a tunnel.
- Certificates for those domains don’t renew until it’s back on.
- Tunnels, private networking, the terminal and logs keep working.
Limits and billing
- A project with at least one tunnel costs $2 a month (₦3,000 in Nigeria), charged per day it has one. Extra tunnels on the same project cost nothing more.
- Your plan on the last billed day of the month sets the included traffic and the extra-traffic price.
- Networking > Tunnels and the Usage page show the price, this month’s days and traffic, and the cost so far, in your currency.
- At the start of each month Pxxl raises one invoice for the month before, paid from your wallet. It’s due 7 days after it’s raised. If it’s overdue, tunnels stop running and you can’t add new ones until it’s paid.
- Enterprise contracts can cover the monthly fee.
API errors
Where to go next
Private networking
Let your projects call each other privately.
Project networking
Every Networking section.

