- Newest
- Most votes
- Most comments
My secure inbound rules allows to connect via 22 and 443 ports from anywhere
Your IP 44.204.34.19 can be reached on port 80 (HTTP) and port 22 (SSH), but not 443 (HTTPS). Could you double-check your AWS Security Group rules and your Ubuntu ufw rules, and confirm that 443 is the same as 22 and 80 ?
Hi, your problem doesn't seem to be on AWS but rather on other end
Accessing your http://44.204.34.19/ over my browser gives this:
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.
Thanks a lot! mb smth with my internet providers.
Hi there,
Here are a few troubleshooting steps you can take to resolve the issue:
Verify Security Group rules: Ensure that your EC2 instance's Security Group allows incoming traffic on port 80 (HTTP) or port 443 (HTTPS), depending on your Nginx configuration. Check both the inbound rules of the Security Group associated with your instance, as well as any network ACLs.
Check Nginx configuration: Double-check your Nginx configuration files to ensure they are correctly set up. Verify that the server block in your Nginx configuration allows traffic on the desired ports (usually 80 or 443). You can also check the Nginx error logs for any potential issues.
Check firewall settings: Since you mentioned using UFW (Uncomplicated Firewall), verify that the firewall rules are correctly configured. Ensure that UFW allows incoming connections on ports 80 and 443. You can check the UFW status using the command sudo ufw status verbose.
Verify Nginx service status: Confirm that the Nginx service is running and active. You can use the command sudo systemctl status nginx to check the status of the Nginx service. Look for any error messages or indications of issues. Verify public IP: Double-check that the public IP address associated with your EC2 instance is correct. You can find the instance's public IP address in the AWS Management Console or by using the AWS CLI.
Hope this help!
Relevant content
- asked 8 months ago
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Thank you!