- to remotely collaborate on a frontend project,
- test a web service,
- access a Jupyter notebook running on your Devbox,
- or access a local database running on your Devbox.
Supported Protocols
Devbox tunnels support multiple protocols, making them suitable for a wide variety of applications:- HTTP/HTTPS: Standard web traffic for REST APIs, web applications, and static content
- WebSockets: Real-time bidirectional communication for chat applications, live updates, and interactive features
- Server-Sent Events (SSE): One-way real-time communication from server to client for live data streams and notifications
Setting up a tunnel
To set up a Devbox tunnel, first make any ports you will want to access available at Devbox creation time.1
Create a Devbox with the ports you want to expose
Create a Devbox with the ports you want to expose.
2
Create a tunnel to the port you want to expose
When your Devbox is created and running, you can now open a tunnel. Use the Copy the url from the output above and open it in your browser to access the service running on your Devbox.
create_tunnel
endpoint to create a unique URL to your Devbox.