Amazon aws for getting external server IP address.
This commit is contained in:
parent
36c8b30e92
commit
976c76047c
@ -3992,7 +3992,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4000,7 +4000,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4018,7 +4018,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4026,7 +4026,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4040,7 +4040,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4048,7 +4048,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4014,7 +4014,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4022,7 +4022,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4005,7 +4005,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4013,7 +4013,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4017,7 +4017,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4025,7 +4025,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4059,7 +4059,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4067,7 +4067,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4065,7 +4065,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4073,7 +4073,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4042,7 +4042,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4050,7 +4050,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4062,7 +4062,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4070,7 +4070,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4312,7 +4312,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4320,7 +4320,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4554,7 +4554,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4562,7 +4562,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3203,7 +3203,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3211,7 +3211,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3470,7 +3470,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3478,7 +3478,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3585,7 +3585,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3593,7 +3593,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3644,7 +3644,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3652,7 +3652,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3869,7 +3869,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3877,7 +3877,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3915,7 +3915,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3923,7 +3923,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3921,7 +3921,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3929,7 +3929,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3927,7 +3927,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3935,7 +3935,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3927,7 +3927,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3935,7 +3935,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3927,7 +3927,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3935,7 +3935,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3915,7 +3915,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3923,7 +3923,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3935,7 +3935,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3943,7 +3943,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3915,7 +3915,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3923,7 +3923,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3924,7 +3924,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3932,7 +3932,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -3981,7 +3981,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -3989,7 +3989,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4097,7 +4097,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4105,7 +4105,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4170,7 +4170,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4178,7 +4178,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
@ -4170,7 +4170,7 @@ public class Config
|
||||
String externalIp = "127.0.0.1";
|
||||
try
|
||||
{
|
||||
final URL autoIp = new URL("http://ip1.dynupdate.no-ip.com:8245/");
|
||||
final URL autoIp = new URL("http://checkip.amazonaws.com");
|
||||
try (BufferedReader in = new BufferedReader(new InputStreamReader(autoIp.openStream())))
|
||||
{
|
||||
externalIp = in.readLine();
|
||||
@ -4178,7 +4178,7 @@ public class Config
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOGGER.log(Level.INFO, "Failed to connect to api.externalip.net please check your internet connection using 127.0.0.1!");
|
||||
LOGGER.log(Level.INFO, "Failed to connect to checkip.amazonaws.com please check your internet connection using 127.0.0.1!");
|
||||
externalIp = "127.0.0.1";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user