Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DS: Define default jupyter notebook port in settings (ie, avoid default 8888) #2655

Closed
bafonso opened this issue Nov 20, 2019 · 5 comments
Closed
Assignees

Comments

@bafonso
Copy link

bafonso commented Nov 20, 2019

Feature: Notebook Editor, Interactive Window, Python Editor cells

Description

It would be great to be able to define the default jupyter notebook port in settings. This is specially useful to keep it clashing from other software - including jupyter notebook - running on the default port 8888. Ideally one could set an alternative default port and then it would increase or randomly find another port.

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

@rchiodo
Copy link
Contributor

rchiodo commented Nov 20, 2019

It should already rollover to the next port? Are you seeing problems where it doesn't?

@bafonso
Copy link
Author

bafonso commented Nov 20, 2019

@rchiodo When it starts it does go to the next port indeed (I just checked and it goes to 8889). What I'd like to be able is to specify its default port from 8888 to 9999 for example. This would let me freely start things (including docker-based servers) on port 8888 without having to restart vscode.

@rchiodo
Copy link
Contributor

rchiodo commented Nov 20, 2019

Ah okay. So it works, but you want to force it to a certain range.

@rchiodo
Copy link
Contributor

rchiodo commented Nov 21, 2019

We should probably also include any custom arguments, so the user can:

@greazer greazer changed the title Define default jupyter notebook port in settings (ie, avoid default 8888) DS: Define default jupyter notebook port in settings (ie, avoid default 8888) Nov 21, 2019
@rchiodo rchiodo self-assigned this Feb 11, 2020
@IanMatthewHuff IanMatthewHuff self-assigned this Feb 15, 2020
@IanMatthewHuff
Copy link
Member

IanMatthewHuff commented Feb 15, 2020

Validated. Checked with the --port setting and the NotebookApp prefix. Both worked.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 22, 2020
@microsoft microsoft unlocked this conversation Nov 14, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants