fix: 服务端使用本地ip

This commit is contained in:
2025-07-29 12:30:56 +08:00
parent 3535b94123
commit 6c1bda50ce
2 changed files with 17 additions and 16 deletions

View File

@@ -1,9 +1,10 @@
using System.Net;
using System.Net.Sockets;
public static class Global {
public static readonly string localhost = "172.31.2.228";
public static class Global
{
public static readonly string localhost = "127.0.0.1";
public static string GetLocalIPAddress()
{