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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠