ipython notebook listening on all IP addresses?
13,592
It means anyone knows your IP and the port you used in jupyter would be able to visit your jupyter notebook. For example, if you are connecting to the Internet behind a router, other computers could visit your notebook via: http://[your_ip]:8888 to visit your notebook. 8888 is the default port of jupyter.
If you want to stop bind on all your IPs, you can specify the IP you want to bind in console:
jupyter notebook --ip=x.x.x.x
x.x.x.x is the IP you want to bind.
Author by
user1956609
Updated on August 09, 2022Comments
-
user1956609 over 1 year
When I launch IPython/Jupyter Notebook, I get the following warnings:
WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended. WARNING: The notebook server is listening on all IP addresses and not using authentication. This is highly insecure and not recommended.
What does "listening on all IP addresses" mean? And how do I fix this?
-
Tomasz Gandor over 5 yearsA cool option is to use
0.0.0.0
, but then it's funny to see it in the browsers URL input.