On Nov 3 2017, at 1:07 pm, Alex Krok <[email protected]> wrote: > Hi Jupyter community, > I need help to configure my jupyterlab installation so I can access it > outside of server > I have completed jupyterlab installation on Ubuntu 16.04.3 LTS using pip3 > /python3 very recently, few day sago. > after I start jupyterlab with $jupyter lab > it starts with no errors, and gives token > http://localhost:8888/?token=b107bbaa414e72996762e210dda4709f430f19d065913ebc > I can connect to server locally , ie with localhost > but not externally , ie outside of server using server public static IP > when I request connection externally on my laptop chrome web browser, ex with > : http://123.45.67.89:8888 > I am getting error message is : > This site can’t be reached > 123.45.67.89 refused to connect > > The question is how do I configure jupyterlab to be accessible outside of > localhost? ie http://123.45.67.89:8888
You need to configure your Jupyter server to listen to connections from all IPs, not just localhost. One way to do this is to edit your ~/.jupyter/jupyter_notebook_config.py file (on the server) to include c = get_config() c.NotebookApp.ip = '*' Note that this means anyone can access your server, so you may want to add password protection and SSL support. More information is available here: http://jupyter-notebook.readthedocs.io/en/stable/public_server.html Robert -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/local-bc98c1e0-fc2a%40mando. For more options, visit https://groups.google.com/d/optout.
