Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Server crash at launch if the Raspberry Pi is connected both WiFi and Ethernet #22

Open
MinionAttack opened this issue Jun 12, 2020 · 0 comments

Comments

@MinionAttack
Copy link

MinionAttack commented Jun 12, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant