-
Notifications
You must be signed in to change notification settings - Fork 297
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
URL rendered and opened on wrong port when 8888 already in use #1126
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
It seems, the reason is that the information about the ports is shown at jupyter_server/jupyter_server/serverapp.py Lines 2836 to 2842 in dd04a01
|
My experience seems to be consistent with this analysis: I am working on macOS. I see the same behavior @alexscordellis reported when I use jupyter_server 2.0.1 I do not see this when I use jupyter_server 1.23.3 |
Thanks for the report, there is a fix in #1136. I'll make a new release on Monday. |
Description
URL printed in console output (and automatically opened in browser) has the wrong port, if port 8888 was already in use.
Reproduce
jupyter nbclassic
orjupyter lab
.This happens with
jupyter lab
andjupyter nbclassic
, but notjupyter notebook
, which correctly prints + opens port 8889.Expected behavior
jupyter notebook
displays the correct behaviour: the port printed to the console and opened on the browser are 8889.Context
Troubleshoot Output
Command Line Output
The text was updated successfully, but these errors were encountered: