The configuration for ENI is done and the TXT records resolve to the ENI IPs. However, when I start the server, it is unable to register itself. I checked the Eureka REST api documentation for the method it used to register and its failing there. The below url is getting called for registering service and it fails with a "Cannot execute request on any known server".
http://ip-xx-xxx-xxx-xxx.ec2.internal:8761/eureka/apps/data-service
I am able to resolve the ENI host to the correct IP and the application comes up fine but unable to register itself. Also I tried to start a eureka client application and it was unable to register to this server too. What could be the issue with the configuration ?