I installed webmin on my ec2 instances. It worked fine because I tested with curl http://localhost:10000 and got the webmin login HTML.
The problem is I cannot access http://elastic-ip:10000 from outside. Even from another ec2 instances. The error is: curl: (7) Failed to connect to x.x.x.x port 10000: Connection refused
I added port 10000 to iptables, I also create custom tcp rule for my security group on aws management console (the correct assigned security group). I even tried to stop iptables service but I cannot able to access webmin from outside. With curl it's above error, with Firefox and Chrome it just told me it cannot connect to that address.
I tried create a new security group, assign to the instance again, reboot the instance but it didnt work as well.
I have no idea why it doesn't work for me. I think this should be an easy task but I am not sure why it's too complicated.
Updated: netstat -an command gives this information: tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN So I think it's listening on all IPs
Please help me! Thank you very much!
Solved: The problem is that I installed webmin on wrong server and tried it on the server with-out webmin installed. That's really stupid mistake. So if you have similar problem, just need to follow Mark's comment: Add the rule to security group, open firewall on server for port 10000 (or disable firewal). That'll work!
