From a18033650a7df7bb3e3d6e945eb09edbf8d6083a Mon Sep 17 00:00:00 2001 From: Hardatyou Date: Sun, 18 Jun 2023 03:41:34 +0300 Subject: [PATCH] Update InternetManager.kt example.com couldn't be pinged from my machine by any means, retried reboot, router restart, and firewall exceptions but to no vail. I am able to ping any other website BUT example.com which stops the server from booting up stating that I do not have an internet connection while I HAVE an internet connection. --- .../atm/bloodworkxgaming/serverstarter/InternetManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/atm/bloodworkxgaming/serverstarter/InternetManager.kt b/src/main/kotlin/atm/bloodworkxgaming/serverstarter/InternetManager.kt index 1e194eb..303852c 100644 --- a/src/main/kotlin/atm/bloodworkxgaming/serverstarter/InternetManager.kt +++ b/src/main/kotlin/atm/bloodworkxgaming/serverstarter/InternetManager.kt @@ -22,7 +22,7 @@ class InternetManager(private val configFile: ConfigFile) { fun checkConnection(): Boolean { var reached = 0 - val urls = listOf("http://example.com", "http://google.com") + val urls = listOf("http://microsoft.com", "http://google.com") for (url in urls) { try { LOGGER.info("Testing $url.")