While in flask run –host0000 the host is explicitly specified. Sudo apt-get install python3-flask. Pin Op Raspberry Pi Installing FLASK and Setting