Skip to content

Commit

Permalink
fix(api): Bind jupyter notebook to 0.0.0.0 (#2398)
Browse files Browse the repository at this point in the history
The jupyter notebook package has a bug in 5.7.0 where specifying the notebook
application’s listening ip as ’*’ causes it to fail to boot:
jupyter/notebook#3946

The workaround listed there is to bind the server to 0.0.0.0 instead, so we do
that here.

Closes #2394
  • Loading branch information
sfoster1 authored Oct 2, 2018
1 parent 85fadd0 commit be24335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/opentrons/resources/jupyter/jupyter_notebook_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
#c.NotebookApp.iopub_msg_rate_limit = 1000

## The IP address the notebook server will listen on.
c.NotebookApp.ip = '*'
c.NotebookApp.ip = '0.0.0.0'

## Supply extra arguments that will be passed to Jinja environment.
#c.NotebookApp.jinja_environment_options = {}
Expand Down

0 comments on commit be24335

Please sign in to comment.