With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
The router forward the port 5000 to the Pi but outside it is the https port which is 443.InternetIP port 443 to intranet IP port 5000
There is way to create your own certificate if you have a dns forward IP. I do have a dyndns,org account and it is working great. Just follow the method display by amazon. Learn how to create a self signed certificate.Add the ssl_context into your python script et voila! no need to ngrok.if __name__ == '__main__':app.run(host='192.168.1.22',port=5000,debug=True,ssl_context=('certificate.pem','private-key.pem'))My router forward the port 5000 to my raspberry Pi IP which is 192.168.1.22
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.