To be able to access flask from network:

alternative method for new version of flask as mentioned in the offical site