Server crash at launch if the Raspberry Pi is connected both WiFi and Ethernet #22
Description
Trying to start the server in my Raspberry Pi 3B+ when it's connected to WiFi and Ethernet makes the server crashes at startup.
Starting Server ...
java.net.UnknownHostException: 192.168.0.25192.168.0.24: Unknown name or service at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Unknown Source) at java.base/java.net.InetAddress.getAddressesFromNameService(Unknown Source) at java.base/java.net.InetAddress$NameServiceAddresses.get(Unknown Source) at java.base/java.net.InetAddress.getAllByName0(Unknown Source) at java.base/java.net.InetAddress.getAllByName(Unknown Source) at java.base/java.net.InetAddress.getAllByName(Unknown Source) at java.base/java.net.InetAddress.getByName(Unknown Source) at PCHWRMServer.monitor.startServer(monitor.java:62) at PCHWRMServer.monitor$1.call(monitor.java:32) at PCHWRMServer.monitor$1.call(monitor.java:26) at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)
As you can see, both IPs are appended: 192.168.0.25192.168.0.24 (Eth0: 192.168.0.25 and wlan0: 192.168.0.24)
Greetings.