Forum archive
Amazon hosted Webmin URL becomes unavailable after a few minutes
When I boot up my Amazon EC2 instance, I can access the webmin using URL or direct IP address with :12321
After a few minutes, the browser I am trying to use will say site cannot be reached and/or connection refused. If I reboot the server, I can then connect once again. When this happens, I can still access SSH via public IP:12320.
Any idea why my webmin is becoming unavailable? I have deleted adn recreated several test instances but getting smae behavour.
I am all patched and updated.
Thoughts anyone? Thanks in advance!!
In the meantime here's some questions: Which browser are you using? Have you tried other web browsers? If not could you please? If so does that change things at all? It sounds like you may not even be getting the same message each time? Is that the case?
Also if you are able to help troubleshoot that'd be great. From the shell can you check that Webmin and stunnel are still running (stunnel should be but let's check):
Also check to see that there are services listening on the relevant ports:Both of these should show results. Obviously port 12321 is the port you connect to; it's where stunnel is listening for a connection. Port 10000 is Webmin's default port (it's hidden behind stunnel for extra security).If all the above seems normal, perhaps just try restarting Webmin (and refreshing your web browser window) and see if anything changes.
By default stunnel logging is turned off but we should be able to enable it fairly easy to see what might be happening there...
Finally the only other thing I can think of is are you using a good password? Poor passwords have resulted in users having their AWS servers hacked (brute force attack). The bad guys can often get in within minutes if you have a poor password. It's probably unlikely if you have set a good password but could be a possibility...