[Solved]: OS X: error: [Errno 49] Can't assign requested address #116


Traceback (most recent call last):  File "app.py", line 24, in    app.run(host='', port=5002, debug=True)  File "/usr/lib/python3.6/site-packages/flask/app.py", line 943, in run    run_simple(host, port, self, **options)  File "/usr/lib/python3.6/site-packages/werkzeug/serving.py", line 795, in run_simple    s.bind(get_sockaddr(hostname, port, address_family))OSError: [Errno 99] Cannot assign requested address


In IPv4, is a special address, aka INADDR_ANY, that means “bind every possible address on every interface”.

So, the multicast network at, if it’s reachable at all, will certainly be reachable from a socket bound to

change your code from

app.run(host='', port=5085, debug=True)


 app.run(host='', port=5085, debug=True)