I have a small Go web server which I have deployed on Amazon Web Services but I am having trouble getting to work.
My EC2 instance has both public & private IP addresses assigned, but I am unable to start the Go server.
If I serve it on localhost it works, but obviously I can't connect to it, so I am trying to assign it the public ip, but it crashes without throwing any errors.
http.ListenAndServe("public_ip", nil)
Any ideas how to proceed from here?