Virtualmin interface will not connect on fresh install of Debian 10 and Virtualmin

Hi, I am having trouble connecting to the Virtualmin interface after running the Virtualmin install script. There were no errors during the install, but when I copy the IP address link that the script gives me to connect to the Virtualmin interface, it spends about 30 seconds trying to connect and then times out. Usermin connects ok on port 20000. I read somewhere that some hosts block port 10000, but I have another Virtualmin server on the same host running Ubuntu that is able to connect on port 10000, so the problem can’t be that the port is being blocked. Any ideas? It was working just over a week ago when I was setting up a test server…

Check the firewall and try to restart the webmin interface.

iptables -L

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all – anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all – anywhere anywhere
INPUT_direct all – anywhere anywhere
INPUT_ZONES_SOURCE all – anywhere anywhere
INPUT_ZONES all – anywhere anywhere
DROP all – anywhere anywhere ctstate INVALID
REJECT all – anywhere anywhere reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all – anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all – anywhere anywhere
FORWARD_direct all – anywhere anywhere
FORWARD_IN_ZONES_SOURCE all – anywhere anywhere
FORWARD_IN_ZONES all – anywhere anywhere
FORWARD_OUT_ZONES_SOURCE all – anywhere anywhere
FORWARD_OUT_ZONES all – anywhere anywhere
DROP all – anywhere anywhere ctstate INVALID
REJECT all – anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
OUTPUT_direct all – anywhere anywhere

Chain INPUT_direct (1 references)
target prot opt source destination

Chain INPUT_ZONES_SOURCE (1 references)
target prot opt source destination

Chain INPUT_ZONES (1 references)
target prot opt source destination
IN_public all – anywhere anywhere [goto]

Chain FORWARD_direct (1 references)
target prot opt source destination

Chain FORWARD_IN_ZONES_SOURCE (1 references)
target prot opt source destination

Chain FORWARD_IN_ZONES (1 references)
target prot opt source destination
FWDI_public all – anywhere anywhere [goto]

Chain FORWARD_OUT_ZONES_SOURCE (1 references)
target prot opt source destination

Chain FORWARD_OUT_ZONES (1 references)
target prot opt source destination
FWDO_public all – anywhere anywhere [goto]

Chain OUTPUT_direct (1 references)
target prot opt source destination

Chain IN_public (1 references)
target prot opt source destination
IN_public_log all – anywhere anywhere
IN_public_deny all – anywhere anywhere
IN_public_allow all – anywhere anywhere
ACCEPT icmp – anywhere anywhere

Chain IN_public_log (1 references)
target prot opt source destination

Chain IN_public_deny (1 references)
target prot opt source destination

Chain IN_public_allow (1 references)
target prot opt source destination
ACCEPT tcp – anywhere anywhere tcp dpt:ssh ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:smtp ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:submissions ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:ftp ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:pop3 ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:pop3s ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:imap2 ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:imaps ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:http ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:https ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:submission ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:domain ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:ftp-data ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:2222 ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpts:webmin:10100 ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpt:20000 ctstate NEW,UNTRACKED
ACCEPT tcp – anywhere anywhere tcp dpts:1025:65535 ctstate NEW,UNTRACKED
ACCEPT udp – anywhere anywhere udp dpt:domain ctstate NEW,UNTRACKED

Chain FWDI_public (1 references)
target prot opt source destination
FWDI_public_log all – anywhere anywhere
FWDI_public_deny all – anywhere anywhere
FWDI_public_allow all – anywhere anywhere
ACCEPT icmp – anywhere anywhere

Chain FWDI_public_log (1 references)
target prot opt source destination

Chain FWDI_public_deny (1 references)
target prot opt source destination

Chain FWDI_public_allow (1 references)
target prot opt source destination

Chain FWDO_public (1 references)
target prot opt source destination
FWDO_public_log all – anywhere anywhere
FWDO_public_deny all – anywhere anywhere
FWDO_public_allow all – anywhere anywhere

Chain FWDO_public_log (1 references)
target prot opt source destination

Chain FWDO_public_deny (1 references)
target prot opt source destination

Chain FWDO_public_allow (1 references)
target prot opt source destination

Also # service webmin restart had no effect.

The 10000 port is allowed with a target area mapping.
You can try to add the port directly, but I dont think it will change something.
And I guess your own assumption from your first port, might still be valid (even if you said its unlikely).

I tried changing the port and listen in \etc\webmin\miniserv.conf, but that didn’t change anything. Let me just repeat that this is a fresh install of Debian 10 and Virtualmin so no settings should have to be changed. It should just work right out of the box, correct?

Hi,

Try apt-get update && apt-get upgrade and then restart Webmin, once again:

/etc/webmin/restart

Thank you for the suggestion, but unfortunately it didn’t help. I even tried starting over with a fresh installation of Ubuntu 18.04 and Virtualmin and I am having the same issue so it is not distribution specific. I was able to set up a Virtualmin test server a little over a week ago so did something change in the install script within the last week that can be causing this problem? If not, then it has to be something to do with my virtual server host.

Ok, I think it is my desktop OS that is causing the issue as I was able to access the Virtualmin interface from my phone. I tried clearing my browser cache but that didn’t help. I even tried installing another web browser on my desktop, but that was giving me the same problem. Finally, after booting into Linux Mint from a CD I was able to connect. Since I am able to access the Virtualmin interface from a different OS, this issue can be marked as solved.

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.