Webmin

安裝後無法從瀏覽器訪問 Webmin

  • February 13, 2021

在 Amazon Lightsail 上的 Ubuntu 20.04 上安裝全新 Webmin

  • iptables我按照他們的指示 添加了該行:
sudo iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
  • 我也添加了10000/tcpufw
  • 當我轉到瀏覽器 https://myip:10000 時,瀏覽器會保持載入一段時間,然後說:
cant open the page because the server where this page is located isn't responding 

我錯過了什麼?

編輯:

當我跑步時,sudo service webmin status我得到了這個:

● webmin.service - LSB: web-based administration interface for Unix systems  
    Loaded: loaded (/etc/init.d/webmin; generated)  
    Active: active (exited) since Thu 2021-02-04 00:52:06 UTC; 55min ago  
      Docs: man:systemd-sysv-generator(8)  

Feb 04 00:52:05 ip-172-26-4-221 systemd[1]: Starting LSB: web-based administration interface for Unix systems...  
Feb 04 00:52:05 ip-172-26-4-221 perl[4800]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root    
Feb 04 00:52:06 ip-172-26-4-221 webmin[4800]: Webmin starting  
Feb 04 00:52:06 ip-172-26-4-221 systemd[1]: Started LSB: web-based administration interface for Unix systems.  
lines 1-9/9 (END)

@OKOK Are you on LightSail?

For me it was the Amazon firewall. I had to allow port 10000 through LightSail console under Network. Even though I had allowed it on ufw through terminal Amazon was applying its own firewall.

引用自:https://unix.stackexchange.com/questions/632536