Port Forwarding
Access services running inside sandbox sessions through direct URLs or a local reverse proxy.
Direct URLs
If your application listens on a port inside the sandbox, access it through the session’s control endpoint:
- Subdomain style:
https://<session_id>.chaser.sh/forward/<port>/ - Path style:
https://api.chaser.sh/s/<session_id>/forward/<port>/
Both support HTTP and WebSocket traffic.
Local reverse proxy
Bind a local port to a sandbox service:
Examples:
This binds http://127.0.0.1:<local_port> and proxies HTTP and WebSocket traffic to the sandbox.
