I followed DigitalOcean's tutorials on how to set up your server with SSH, creating a new user, firewalls etc. The first tutorial in the series is linked under:
https://www.digitalocean.com/community/tutorials/how-to-connect-to-your-droplet-with-ssh
I've also installed Webmin on my server, but I still can't get a connection to the server by using the web-browser. It just loads for a long time and then says it can't establish a connection. The URL's I've been using are:
"Just-my-IP-adress" and "https://Just-my-IP-adress:10000"
The last one to open the Webmin administrator.
I'm not sure what else needs to be done to get a response from the server. This is all new to me, so you shouldn't assume that anything besides the tutorial I followed above has been done.
Any rookie-mistake-suggestions would be appreciated.
UPDATE1: After following this tutorial to install LAMP, I now get a response when just using my IP-adress, webmin is still not responding, but I assume it was not properly installed since I did not have LAMP installed when I did the Webmin-installation.
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
UPDATE1: After installing Webmin again, I still can't access it through the browser. I tried the command:
nc -zvw 3 <my-ip> 10000
in the terminal and got this as a response:¨
Connection to <my-ip> 10000 port [tcp/webmin] succeeded!
So I guess the port is open and I should be able to connect to it, but it won't let me use the GUI in the browser.
Access Webmin. To access Webmin, open any web browser, and type https:// followed by localhost and the port 10000. To access Webmin from another system on the network, replace localhost with hostname, or simply the IP address of the system which you want to access the program.
Please try to restart webmin with the following command and check if you are getting any error.
/etc/init.d/webmin restart
If it's working fine, Then defiantly there is an issues with the firewall OR some ports are blocked at your DC end. Please try to stop firewall and check again.
nano /etc/webmin/miniserv.conf
ssl=0
into ssl=1
.nano
.service webmin restart
Cheers.
Digital ocean sets up your basic firewall with the '1-click' LAMP stack. All ports but ssh and http are blocked. I think the tutorial has you setting that up as well.
Run sudo ufw status
to see what ports are currently allowed
and then sudo ufw allow 10000/tcp
to allow access to the one webmin needs.
try this ... it's working for me
iptables -I INPUT 1 -p tcp --dport 10000 -j ACCEPT
service iptables save
/etc/init.d/iptables restart
open both link in Browser
https://your-IP:10000 and http://your-IP:10000
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With