I have created AWS Lightsail instance and attached a public IP address. So Curranty machine has 2 IPs, public and private.
the command ifconfig shows only private IP and nowhere in public. Hence I am unable to bind my golang based application to public IP address.
Am I missing anything here? I have spend 1 hour on chasing this and could not see any article that could relate to this, need help.