I have created a website and wanted to deploy it everything works for me (locally) but when I deployed my website and ran the server using uvicorn everything was working fine on the device which ran the server but when I tried it on another device it said "Failed to load resources net::ERR_CONNECTION_REFUSED" So basically it mainly just works locally and not publicly. And also in the screenshot Error Screenshot you see "localhost" and yes I also tried "0.0.0.0", The dns, ipv4, etc And when I tried 0.0.0.0 it says net::ERR_CERT_INVALID. I also used reverse proxy (Nginx) and yet it doesn't works. I have tried using different base url which were told to me to use and I also have used flask_cors, flask itself, and etc I have now decided to use fastAPI and hoping it works I have changed the nginx.conf file multiple times waiting for it to work but no results Everything I tried only managed to get it working locally not globally Continue reading...