不确定如何腾出正在使用的Jupyter Notebook端口 [英] Not sure how to vacate Jupyter Notebook ports that are in use

查看:580
本文介绍了不确定如何腾出正在使用的Jupyter Notebook端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题说明了一切.我目前在AWS内工作,并且正在为我的项目设置anaconda.我正在尝试在https://XYZ.compute.amazonaws.com:8888上工作,因为这是将在chrome中加载的唯一端口.

The title explains it all. I'm currently working within AWS and am setting up anaconda for my projects. I'm trying to work on https://XYZ.compute.amazonaws.com:8888 since that is the only port that will load in chrome.

每次我退出jupyter窗口并关闭我的Notebook会话时,它表明此端口仍在使用中.

Every time I exit my jupyter window and close my Notebook session, It shows that this port is still in use.

任何关于如何腾空这些端口的帮助将不胜感激.

Any help on how to vacate these ports would be much appreciated.

推荐答案

您已使用屏幕. 请按照以下步骤关闭正在运行的会话.

You have used screen. follow below steps to close the running sessions.

  1. 重新加入屏幕会话(screen -r)
  2. 按Ctrl + c终止Jupyter笔记本会话

如果无法正常工作,请关闭电源,然后在服务器上释放端口

If nothing works power off and on your server to free the ports

这篇关于不确定如何腾出正在使用的Jupyter Notebook端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆