[Update] Updates ServerList.cs with public IP API.

Updates ServerList.cs with public IP API.
This commit is contained in:
Kamron Batman 2016-11-18 18:06:30 -08:00 committed by GitHub
parent d038571b41
commit 5f15f5bd8a

View file

@ -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
}
}
}
}
}