diff --git a/test/clash_test.go b/test/clash_test.go index 3bf7a59..98c6a3f 100644 --- a/test/clash_test.go +++ b/test/clash_test.go @@ -654,7 +654,7 @@ log-level: silent require.NoError(t, err) defer cleanup() - require.True(t, TCPing(net.JoinHostPort(localIP.String(), "10000"))) + require.True(t, TCPing(net.JoinHostPort("127.0.0.1", "10000"))) testPingPongWithSocksPort(t, 10000) }