Err Connection Refused Aws Ec2

Troubleshoot connecting to your instance.
Err connection refused aws ec2. I followed aws docs to mount my instance and edited etc fstab. If your instance is part of an amazon ec2 auto scaling group or if your instance is launched by services that use aws auto scaling such as amazon emr aws cloudformation aws elastic beanstalk and so on then stopping the instance could terminate the instance. Hello i am running aws ec2 on centos. There is a webpage in my amazon ec2 but when i try to visit or get err connection refused i ve confirmed the issue isn t about security group press j to jump to the feed.
For a rhel ami the user name is ec2 user or root. My problem was that i had a volume attached to my instance then i detached the volume and deleted it. When i run netstat an grep 9080.
For a fedora ami the user name is ec2 user or fedora. This was the problem. For amazon linux 2 or the amazon linux ami the user name is ec2 user. I followed a tutorial to launch a mern app onto aws ec2.
Press question mark to learn the rest of the keyboard shortcuts. For an ubuntu ami the user name is. When the volume is detached and you try to reboot or stop and start the instance it goes to this file and tries to attach the nonexistent volume and ssh daemon is not started. For a debian ami the user name is admin.
For a centos ami the user name is centos. My problem here is that when i load the mern page through aws on chrome it serves a blank page. While i did have some trouble everything ended up okay.
Tcp 0 0 ffff 127 0 0 1 9080 listen but when i go to my public dns. I have installed webspehre liberty and started it. For a suse ami the user name is ec2 user or root. This site can t be reached err connection refused.