Skip to content

添加使用IPv6地址的RDP主机 发起连接时未自动带入[]导致连接错误 #1327

@opfish-net

Description

@opfish-net
  • 版本:2.0.0-beta.15 windows x86_64
  • 前置操作:新增RDP主机,在“主机”栏填入IPv6地址,如2001:db8::1234,其他项目(账号密码等)正常填写,端口默认值3389
  • 问题:发起连接到此RDP主机,发现调用系统远程桌面连接(mstsc.exe)时,提示“正在连接到 2001:db8::1234:3389“,此时会连接失败。
  • 可能原因:远程桌面连接(mstsc.exe)在连接IPv6主机时,需采用[2001:db8::1234]:3389格式,以实现对特定端口的连接,软件在处理时将:3389端口和IPv4采用了一致的处理方式,与主机IP地址直接连接组成字符串,导致:3389端口成为IPv6地址的一部分,导致连接失败。
  • 推荐处理:判断IPv4和IPv6,针对IPv6的RDP主机自动带入[2001:db8::1234]格式

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions