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: uvicorn main:app --reload But clicking it throws this: Why am I seeing 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?

質問済み 2年前420ビュー
1回答
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
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ