- Newest
- Most votes
- Most comments
Is the Lightsail OS Windows?
If the firewall settings in the following document for Lightsail are OK, you may want to check your Windows firewall settings.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-firewall-and-port-mappings-in-amazon-lightsail
Otherwise, check to see if Lightsail is listening on port 80 in the first place.
For example, the following command can be executed at the command prompt to check if port 80 is in use.
netstat -nao | find "80"
Thanks for the responses everyone. I resolved this by creating a new Instance, this time using a build of Server 2019. The setup of Mailstore on this OS was text-book (ports were opened successfully during the install and the application installed without issue). Incidentally, I tried resetting Windows Defender back to defaults on the original Server 2022 and this took the instance down completely! Thereafter I was unable to connect to it at all (received the error "remote server has closed the connection because your instance is taking too long to respond"). Stopping and starting the VM made no difference, so I trashed it and plan to stick with 2019 instead.
Relevant content
- asked 2 years ago
- asked 3 years ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- I host a website on an EC2 instance. How do I allow my users to connect on HTTP (80) or HTTPS (443)?AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
Thanks for the speedy reply Riku. Yes the Lightsail OS is Windows Server 2022 Standard. The Firewall settings are okay as I am trying to use one of the defaults (HTTP - TCP - 80 - all IP addresses).
When I run the above netstat command, I get this:
Microsoft Windows [Version 10.0.20348.1787] c:\users\Administrator\netstat -nao | find "80"
TCP 0.0.0.0:49667 0.0.0.0:0 LISTENING 1180 TCP [::]:49667 [::]:0 LISTENING 1180 TCP [{Ipv6 address} [2001:{macaddress]:80 TIME_WAIT 0 UDP 127.0.0.1:64919 127.0.0.1:64919 1180
see here for screenshot: https://www.screencast.com/t/p29AhyDI4
It appears the only reference to port 80 is against the MAC address, and that states "TIME_WAIT".
I dont understand these results, or why port 80 remains closed on this new Lightsale Windows Server?
At any rate, I've found that it's not the firewall as the cause of my inability to connect. It appears that port 80 is not listening well. I'm not very familiar with MailStore Server, but I'm wondering if there is a problem with the configuration.
Is this explanation relevant? I thought that access via HTTP was not supported. https://www.mailstore.com/en/products/mailstore-server/changelog/