Hi,
IтАЩm running app.run_server(debug=True, mode='external')
from a jupyter notebook and my app runs on http://127.0.0.1:8050/.
Is there a way to shutdown the server without restarting the jupyter kernel?
(So that the address is free for another app, for example, to run from the command line - which currently produces OSError: [Errno 98] Address already in use
.)
I tried to run requests.post('http://127.0.0.1:8050/shutdown')
which I found here - Shutdown dash app after n seconds, but I get <Response [500]>
.
Thanks, JupyterDash is a great addition by the way!
1 post - 1 participant