How can one configure flask to be accessible via public IP interface? [duplicate]
run flask using
app.run(host="0.0.0.0:PORT#")
look for your IPv4 Address using ifconfig
in your command prompt, and in your browser you can access your app using your ipaddress:port#
You might have to configure your router (port forwarding) to make it publicly available, otherwise you candownload/use https://ngrok.com/ ----> This will expose your localhost behind a NaT or Firewall to the internet.
Once you download, you can configure it by running
ngrok http localhost:5000
this will provide you a RANDOMsubdomain.ngrok.io and you can test your app from pretty much anywhere