I created a t3.micro EC2 instance on AWS and after installing and starting nginx, when I try to go to the Public IPv4 address in the browser, I get this message 'This site can’t be reached'.
List of commands used after logging SSH in my EC2 instance:
sudo apt-get update
sudo apt-get install nginx
sudo systemctl start nginx
This is what my security group looks like:
Nginx status:
nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2024-01-22 13:40:54 UTC; 1s ago Docs: man:nginx(8)Process: 828 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status>Process: 829 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCES>Main PID: 831 (nginx) Tasks: 3 (limit: 1091) Memory: 3.3M CPU: 25ms CGroup: /system.slice/nginx.service├─831 "nginx: master process /usr/sbin/nginx -g daemon on; master_process on;"├─832 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">└─833 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">
What am I missing?