Public IP not connecting in AWS EC2 instance after adding rules to accept all ports on HTTP & HTTPS?

I have onfigured all the security groups ports and address, i can connect to the ec2-user from my terminal, i have also read many stackoverflow and blog posts to fix this but when i access https://ec2-13-36-211-140.eu-west-3.compute.amazonaws.com/ it takes a while to load up then it shows This site cannot be reached, i have added many rules to accept ports as you can see below. What might be the best fix for this? I know i am definitely missing something…

enter image description here

Check for any firewall (iptables or ufw) settings on the target system. Also verify that the web server you’re expecting to have running on 80 or 443 are up and running and listening to those ports.

When I try going to that site, the detail message I get is:
ec2-13-36-211-140.eu-west-3.compute.amazonaws.com unexpectedly closed the connection.

This is an indication to me that the server is not accepting connections on port 443.