Flask server visible when hosted on macbook, but not when hosted on windows desktop? (Tried everything?) [duplicate] Flask server visible when hosted on macbook, but not when hosted on windows desktop? (Tried everything?) [duplicate] flask flask

Flask server visible when hosted on macbook, but not when hosted on windows desktop? (Tried everything?) [duplicate]


This gets into the vagaries of networking. Change to

ip = '0.0.0.0'

and try again. When you tried to pass --port=0.0.0.0 to your app, the option was ignored, since your app isn't parsing options. The flask runner does parse them. On the Mac side, the invocation would be

FLASK_APP=myApp.py flask run --host=0.0.0.0

I don't know what the equivalent would be on Windows.