From 37f3179aee656c2a227630d4de2a79ce8cd2a4f0 Mon Sep 17 00:00:00 2001 From: Cooper H <60411087+cxxpxr@users.noreply.github.com> Date: Fri, 18 Jun 2021 19:30:41 -0400 Subject: [PATCH] Update ProgramExtra.cs --- .../LRM/Program/ProgramExtra.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/ProgramExtra.cs b/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/ProgramExtra.cs index 471cffa7..c9c17fc8 100644 --- a/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/ProgramExtra.cs +++ b/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/ProgramExtra.cs @@ -25,7 +25,7 @@ private static void GetPublicIP() try { // easier to just ping an outside source to get our public ip - publicIP = webClient.DownloadString("http://ipv4.icanhazip.com").Replace("\\r", "").Replace("\\n", "").Trim(); + publicIP = webClient.DownloadString("https://api.ipify.org/").Replace("\\r", "").Replace("\\n", "").Trim(); } catch {