changing ip autodetection url, yet again
This commit is contained in:
parent
568bd43733
commit
ba8e6c7a19
1 changed files with 2 additions and 5 deletions
|
|
@ -173,11 +173,8 @@ namespace Server.Misc
|
|||
private static IPAddress FindPublicAddress()
|
||||
{
|
||||
try {
|
||||
#if MONO
|
||||
WebRequest req = HttpWebRequest.Create( "http://req.azurewebsites.net/ip.aspx" );
|
||||
#else
|
||||
WebRequest req = HttpWebRequest.Create( "https://req.azurewebsites.net/ip.aspx" );
|
||||
#endif
|
||||
WebRequest req = HttpWebRequest.Create( "http://uo.cx/ip.php" );
|
||||
|
||||
req.Timeout = 15000;
|
||||
|
||||
WebResponse res = req.GetResponse();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue