From 5f15f5bd8ace53e322742d61d9c262a46002fd55 Mon Sep 17 00:00:00 2001 From: Kamron Batman Date: Fri, 18 Nov 2016 18:06:30 -0800 Subject: [PATCH] [Update] Updates ServerList.cs with public IP API. Updates ServerList.cs with public IP API. --- Scripts/Misc/ServerList.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/Misc/ServerList.cs b/Scripts/Misc/ServerList.cs index b007fae54..f0060ac59 100644 --- a/Scripts/Misc/ServerList.cs +++ b/Scripts/Misc/ServerList.cs @@ -173,7 +173,7 @@ namespace Server.Misc private static IPAddress FindPublicAddress() { try { - WebRequest req = HttpWebRequest.Create( "http://uo.cx/ip.php" ); + WebRequest req = HttpWebRequest.Create( "https://api.ipify.org" ); req.Timeout = 15000; @@ -195,4 +195,4 @@ namespace Server.Misc } } } -} \ No newline at end of file +}