R
Runpod•8mo ago
Nureongi

The pod is not exposed externally.

I followed RunPod's documentation to run a web server using FastAPI + Uvicorn on port 8000. I also specified port 8000 in the Expose HTTP Ports field in the Pod config. RUN uvicorn main:app --reload --host 0.0.0.0 --port 8000 The logs show that the command executed successfully:
2025-01-09T02:39:28.064562664Z INFO: Will watch for changes in these directories: ['/app']
2025-01-09T02:39:28.074297308Z INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
2025-01-09T02:39:28.075157822Z INFO: Started reloader process [825] using StatReload
2025-01-09T02:39:28.064562664Z INFO: Will watch for changes in these directories: ['/app']
2025-01-09T02:39:28.074297308Z INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
2025-01-09T02:39:28.075157822Z INFO: Started reloader process [825] using StatReload
However, when I click the Connect button, it shows "HTTP Service [PORT 8000] Not Ready", and when I try to access https://{POD_ID}-8000.proxy.runpod.net/ directly, it displays a 502 bad gateway error page. Can you help me identify what might be the problem? I'm using a Community Pod rather than a Secure Pod - could this be the issue?
16 Replies
Nureongi
NureongiOP•8mo ago
Never mind. It works normally after mapping port 8000 to TCP instead of HTTP in the Pod settings.
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
czapajev
czapajev•8mo ago
hi, `i have the same problem could you tell me what comment i must put in window in pods settings?
No description
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
czapajev
czapajev•8mo ago
nope
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
czapajev
czapajev•8mo ago
I removed port 8000 all others seemingly work and it stands still nothing continues to happen with it 🙂
No description
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Poddy
Poddy•8mo ago
@Nureongi
Escalated To Zendesk
The thread has been escalated to Zendesk!
czapajev
czapajev•8mo ago
I removed 8000 😛 and still same problem - NOTHING
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
czapajev
czapajev•8mo ago
stable diffusion application under which I am doing this pod does not turn on
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
czapajev
czapajev•8mo ago
I am noob... sorry but are you able to write how to do it?
Nureongi
NureongiOP•8mo ago
Have you tried clicking on any of those 'Ready HTTP Service'? One of those is likely linked to the web GUI maybe you're looking for.
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?