What this solves
If your app prints something like:https://<instance-id>-8888.tenants.hivecompute.ai) shows Bad Gateway, it likely means:
- The app is only available locally (localhost)
- HTTPS reverse proxy can’t reach it
Step 1 – Start your server (pick one)
Step 2 – Bind to 0.0.0.0, not 127.0.0.1
Visithttps://<instance-id>-8888.tenants.hivecompute.ai.If you switched ports, replace
8888 in both the URL and your app command.
Step 3 – Open the HTTPS URL
Once your app is running and listening on the correct interface and port, go to:- Double-check your app is running
- Use
curl http://localhost:8888from inside the instance to test - Restart your app if needed