Unable to access Webmin through browser

☆樱花仙子☆ 提交于 2019-11-30 02:01:15

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.

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

Deftwun

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.

It will solve your problem

  1. nano /etc/webmin/miniserv.conf
  2. now change ssl=0 into ssl=1.
  3. Press Ctrl+o and Enter to save it.
  4. Press Ctrl+x to exit the nano.
  5. Now restart webmin service webmin restart

Cheers.

Try:

sudo iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 10000 -j ACCEPT

Port 10000 is listening so, so you either have a Webmin installation problem, or the SSH may be creating a problem for Webmin.

I would recommend disabling the SSH, going back to non-SSL. Check and see if port 10000 is Webmin GUI? If not, purge Webmin install.

apt-get --purge remove webmin

Reinstall Webmin using the instructions from Webmin

http://www.webmin.com/deb.html

With SSH still disabled check

http://Just-my-IP-adress:10000

I would suggest using Webmin to install SSH.

In general it's a better process to build and verify your VPS in stages, testing each component before adding on another. No matter what Digital Ocean may suggest, integrating all the components together at once and flipping the switch leads to difficult to track down issues that often require you to start over and rebuild anyway.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!