Reputation: 61
I am trying to run dash through Jupiter notebook on macOS. It does get imported and when I try to run app.run_server command it fails. it gives me the following error
[Errno 8] nodename nor servname provided, or not known
Upvotes: 3
Views: 1468
Reputation: 71
Just specify the explicit host name in the app.py
Default hostname causes such issue
if __name__ == '__main__':
app.server.run(port=8000, host='127.0.0.1')
Upvotes: 7