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?
Cloud9 application preview feature does not support insecure HTTP endpoints. You would need to switch to HTTPS to access websites served from the environment.