using FastGithub.Configuration; using System; using System.Net.Sockets; namespace FastGithub.HttpServer { /// /// https反向代理端口 /// static class HttpsReverseProxyPort { /// /// 获取端口值 /// public static int Value { get; } = OperatingSystem.IsWindows() ? 443 : LocalMachine.GetAvailableTcpPort(AddressFamily.InterNetwork); } }