If this web server is for testing and demonstration purposes only. You can use ngrok, an open source that tunnels your http traffic.
Bascially ngrok creates a public URL (both http and https), and then tunnels the traffic to any port running the Flask process.
https://ngrok.com/product
It only takes a couple of minutes to set up. First you need to download the software. Then run the command
. / ngrok http [port number on which your python process is running]
Then it will open a window in the terminal, providing you with both http and https-url to access your web application.
Hemanth kondapalli
source share