[GH-ISSUE #3452] SSH Tunnel on Same Local Port #2347

Closed
opened 2026-02-27 00:07:02 +03:00 by kerem · 1 comment
Owner

Originally created by @YXL76 on GitHub (May 27, 2024).
Original GitHub issue: https://github.com/electerm/electerm/issues/3452

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.39.18-linux-amd64.deb

Platform detail (平台详情)

6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

What steps will reproduce the bug?(重新问题的详细步骤)

When two SSH connection whcih enable tunnel on the same local port, an uncaughtException will be raised and all new connection will hung on connecting state.

uncaughtException Error: listen EADDRINUSE: address already in use 127.0.0.1:12345
    at Server.setupListenHandle [as _listen2] (node:net:1740:16)
    at listenInCluster (node:net:1788:12)
    at doListen (node:net:1937:7)

What should have happened?(期望的结果)

The error will be caught.

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Originally created by @YXL76 on GitHub (May 27, 2024). Original GitHub issue: https://github.com/electerm/electerm/issues/3452 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.39.18-linux-amd64.deb ### Platform detail (平台详情) 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux ### What steps will reproduce the bug?(重新问题的详细步骤) When two SSH connection whcih enable tunnel on the same local port, an `uncaughtException` will be raised and all new connection will hung on connecting state. ```log uncaughtException Error: listen EADDRINUSE: address already in use 127.0.0.1:12345 at Server.setupListenHandle [as _listen2] (node:net:1740:16) at listenInCluster (node:net:1788:12) at doListen (node:net:1937:7) ``` ### What should have happened?(期望的结果) The error will be caught. ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
kerem 2026-02-27 00:07:02 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@zxdong262 commented on GitHub (May 27, 2024):

感谢反馈,将在下个版本修复

<!-- gh-comment-id:2133191418 --> @zxdong262 commented on GitHub (May 27, 2024): 感谢反馈,将在下个版本修复
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2347
No description provided.