jupyter notebook 远程访问

简介:

网上有设置配置文件的方式,我自己尝试了,最后没效果,遂采用下面的笨方法。

首先确定外界可以访问主机服务,比如开启端口之类,见前一篇文章。

然后开启服务,指定ip port:

jupyter notebook --no-browser --port 6000 --ip=192.168.1.103

--no-browser 指的是不自动打开浏览器

如果需要root开启的话,需要加参数 --allow-root

 

其他主机访问,访问http://ip:port。打开后,需要输入密码或者token。因为我不是通过配置文件做的,没有密码,但是主机终端开启jupyter服务时,会显示token,拷贝出来,访问即可。










本文转自 jiu~ 博客园博客,原文链接:http://www.cnblogs.com/jiu0821/p/8544216.html,如需转载请自行联系原作者
目录
相关文章
|
4月前
|
机器学习/深度学习 安全 数据安全/隐私保护
Jupyter Notebook本地部署并实现公网远程访问内网Jupyter服务器【内网穿透】
Jupyter Notebook本地部署并实现公网远程访问内网Jupyter服务器【内网穿透】
|
Linux Windows
jupyter notebook | 远程访问服务器及更换主题
jupyter notebook | 远程访问服务器及更换主题
209 0
jupyter notebook | 远程访问服务器及更换主题
|
2月前
|
数据可视化 安全 数据挖掘
技术小白如何轻松安装Jupyter Notebook
技术小白如何轻松安装Jupyter Notebook
|
7月前
|
消息中间件
Anaconda安装之后Spyder打不开解决办法--目前有用 jupyter notebook 无法正常运行2023.1.7
Anaconda安装之后Spyder打不开解决办法--目前有用 jupyter notebook 无法正常运行2023.1.7
118 0
|
Go Python
安装 Jupyter Notebook
安装 Jupyter Notebook
254 0
|
机器学习/深度学习 Ubuntu 前端开发
数据挖掘基础学习一:VMware虚拟机Ubuntu上安装Python和IPython Notebook(Jupyter Notebook)完整步骤及需要注意的问题(以ubuntu-18.04.3为例)
数据挖掘基础学习一:VMware虚拟机Ubuntu上安装Python和IPython Notebook(Jupyter Notebook)完整步骤及需要注意的问题(以ubuntu-18.04.3为例)
613 0
数据挖掘基础学习一:VMware虚拟机Ubuntu上安装Python和IPython Notebook(Jupyter Notebook)完整步骤及需要注意的问题(以ubuntu-18.04.3为例)
Linux下安装Jupyter notebook
Linux下安装Jupyter notebook
Linux下安装Jupyter notebook
|
PyTorch 算法框架/工具 Windows
安装PyTorch后jupyter notebook中仍出现“No module named torch“
Jupyter Notebook 后 import torch 却提示 “No module named torch”
1494 0
安装PyTorch后jupyter notebook中仍出现“No module named torch“
|
数据安全/隐私保护 Python
ubuntu14.04安装jupyter notebook
ubuntu14.04安装jupyter notebook
150 0
|
Linux
CentOS7(64位)安装Jupyter Notebook
CentOS7(64位)安装Jupyter Notebook
461 0
CentOS7(64位)安装Jupyter Notebook

热门文章

最新文章