I have a website running in Elatic Beanstalk. In default-environment url, it is working totally fine. But, when I try to access it with my domain from GoDaddy it is showing ERR_CONNECTION_REFUSED
. I have properly set nameservers and ip on godaddy as per godaddy tech assistance.
In security groups, server is listening on port 80. I my node server.js
, I have set this.
app.listen( process.env.PORT || 3000,function(req,res){
console.log("Express Server is Running ......");
});
What am I missing here?