Skip to main content
Any port a machine process binds on 0.0.0.0 can be exposed through a signed preview URL. This example serves a file with Python’s built-in HTTP server and fetches it from your machine.

Setup

Python

preview_example.py

Expected output

The URL embeds a signed edge_token — treat it as a secret and don’t log it. For longer-lived links, expiry control, and revocation, see Preview URLs; to put your own domain and auth in front, see Custom preview proxy. Related: Networking overview · Access control