We have a part of our Java application that should determine what the local host name is.
But whenever we try to get them through
InetAddress.getLocalhost().getHostName()
we get:
org.quartz.JobExecutionException: java.net.UnknownHostException: 22e51fd8a6fb: 22e51fd8a6fb [See nested exception: java.net.UnknownHostException: 22e51fd8a6fb: 22e51fd8a6fb]
When we do this through ec2 instances, it works fine. Are there any restrictions on fargate or potentially some kind of configuration that could be customized?
source
share