feat: Adds ping listener on port 12000 for server list (#1485)
This commit is contained in:
parent
15227a53ec
commit
60a6796903
4 changed files with 186 additions and 6 deletions
|
|
@ -181,9 +181,9 @@ namespace Server.Misc
|
|||
var ipAddress = hc.GetStringAsync(_ipifyUrl).Result;
|
||||
return IPAddress.Parse(ipAddress);
|
||||
}
|
||||
catch (Exception e)
|
||||
catch
|
||||
{
|
||||
logger.Error(e, "Failed to get public IP address.");
|
||||
// ignored
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue