Skip to content

Comments

Close all sockets in _find_http_port explicitly#1584

Merged
minrk merged 2 commits intojupyter-server:mainfrom
MaryushSoroka:bugfix_explicit_socket_close
Feb 12, 2026
Merged

Close all sockets in _find_http_port explicitly#1584
minrk merged 2 commits intojupyter-server:mainfrom
MaryushSoroka:bugfix_explicit_socket_close

Conversation

@MaryushSoroka
Copy link
Contributor

@MaryushSoroka MaryushSoroka commented Dec 20, 2025

This should fix the bug with IPv6 socket not being closed before starting http server when running on PyPy.
Please see the issue #1583 for the details.

closes #1583

@minrk minrk added the bug label Feb 12, 2026
@minrk minrk changed the title Fix bug in issue #1583: Close all sockets in _find_http_port explicitly Close all sockets in _find_http_port explicitly Feb 12, 2026
@minrk minrk merged commit ec427f3 into jupyter-server:main Feb 12, 2026
35 of 39 checks passed
@minrk
Copy link
Contributor

minrk commented Feb 12, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address is already in use for IPv6 socket under PyPy when starting http server

2 participants