UnknownHostException happened when the Java application connect to server
UnknownHostException happened when the Java application connect to server. The host name is the same as I download the jar files, so the host should be resolvable.
2 Replies
Networking is limited in the browser, only HTTP connection to the same domain as the page can work, and explicitly DNS resolution is not possible. See our networking guide for more information: https://labs.leaningtech.com/cheerpj3/guides/Networking
For advanced networking you need to use the Tailscale integration. Without further info it's difficult for me to help you.
I am going to assume the issue was caused by an explicit DNS resolution without Tailscale being enabled. Closing.