I have changed the webmin port, but I cannot access.

5 posts / 0 new
Last post
#1 Wed, 11/13/2019 - 20:44
ciberveloz

I have changed the webmin port, but I cannot access.

I installed the latest version of virtualmin over ubuntu18, I need to use port 2096. I did different tests but I can't connect even when I try to use port 10001, please help me. I made the port change from the webmin web interface and also from the Ubuntu 18 Linux console, I also opened the port in the firewallD, I am only able to connect when I configure the 10000 port.

/etc/webmin/miniserv.conf port = 10000 listen = 10000 service webmin restart

/etc/firewalld/zones/public.xml

All help and suggestions are welcome. Thanks in advance

Thu, 11/14/2019 - 08:50
scotwnw

Its either firewall issue or not restarting webmin issue. I change from 10000 to something else all the time.

Add 2096-2107 to firewall allow. Change webmin listen port to 2096. Restart webmin. See if can connect to 2096. If works, disable 10000-10011 in firewall.

Thu, 11/14/2019 - 19:12 (Reply to #2)
ciberveloz

Believe me that I have tried anyway, can you please change the port and verify what I am doing wrong? Thanks in advance.

webmin: https://35.196.192.180:10000 host SSH: 35.196.192.180 User webmin or SSH: **** Passwordwebmin or SSH: ****

Thu, 11/14/2019 - 19:46
scotwnw

OK, I tried. You've got something else firewall wise going on. Is this hosted on Amazon or GCC where you also need to open firewall ports with their firewall?

I change webmin port, it was already open in firewalld, no go. Disable firewalld, no go. So something else is blocking that port. Since it just sits there not responding, its a firewall issue. Not with your VM but elsewhere up the line. If this is a dedicated or you are directly connected to the net, then Im lost and never had this happen. Delete that user asap BTW.

Further investigating and that is a GCC ip so Im sure they have that port firewalled as well.

Thu, 11/14/2019 - 22:09 (Reply to #4)
ciberveloz

Thank you so much and I am so sorry. I forgot to open the new port in Google Cloud, now I did it, and everything works perfectly. Thank you very much for your time you are my hero ^_^

Topic locked