From 3984133646c99ee43186f1e179867b4974bbfb57 Mon Sep 17 00:00:00 2001 From: AndyChiang888 <92450589+AndyChiang888@users.noreply.github.com> Date: Sun, 7 Sep 2025 05:08:54 +0700 Subject: [PATCH] TLS PING: Fix port issue --- main/commands/all/tls/ping.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/commands/all/tls/ping.go b/main/commands/all/tls/ping.go index 1e0850947614..ccc5fe6bce9f 100644 --- a/main/commands/all/tls/ping.go +++ b/main/commands/all/tls/ping.go @@ -92,7 +92,7 @@ func executePing(cmd *base.Command, args []string) { fmt.Println("-------------------") fmt.Println("Pinging with SNI") { - tcpConn, err := net.DialTCP("tcp", nil, &net.TCPAddr{IP: ip, Port: 443}) + tcpConn, err := net.DialTCP("tcp", nil, &net.TCPAddr{IP: ip, Port: TargetPort}) if err != nil { base.Fatalf("Failed to dial tcp: %s", err) }