Salta al contenuto

FastAPI on Cloud9, Localhost Not Accessible

0

uvicorn main:app --reload gave me the link 'http://127.0.0.1/8000' as you can see below: But clicking it throws this: How can I access to http://127.0.0.1/8000 like I can on my desktop so that I can have access to swagger?

posta 3 anni fa620 visualizzazioni
1 Risposta
0

Hi, thank you for reaching out.

Cloud9 application preview feature does not support insecure HTTP endpoints. You would need to switch to HTTPS to access websites served from the environment.

AWS
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.