- Newest
- Most votes
- Most comments
Thanks for the help. It turns out there was another install of nginx on the server that was causing the issue.
answered 2 years ago
Hello.
Can I check not only Lightsail's firewall but also the OS's firewall?
For example, if Lightsail's OS is Ubuntu, you can check the firewall rules with the following command.
Please confirm that the action column for port 443 is set to Allow using the command below.
If port 443 is denied or nothing is displayed, try adding a rule using the "ufw allow" command.
sudo ufw status
sudo ufw allow 443/tcp
Also, if there are no problems with your firewall, please check if it is listening to port 443.
If you cannot confirm port 443 using the command below, there may be a problem with the web server, so please recheck the web server settings and check the logs.
sudo lsof -i:443 -P
I'm confused by the command and the output - you report that running nc -vnzu <static server IP> 443 gives the output Connection to <static server IP> port 80 [udp/*] succeeded!
If you're attempting to establish a connection to port 443, why is the response talking about port 80?
I'm also wondering why you're passing the -u flag which forces it to use UDP rather than TCP? If it really is UDP that you want to use, make sure this protocol is open in the firewall for those port(s).
Relevant content
asked 5 years ago
