# Change port for usermin

**URL:** <https://forum.virtualmin.com/t/change-port-for-usermin/35376>\
**Category:** Usermin\
**Created:** [January 12, 2010, 4:11pm UTC](https://forum.virtualmin.com/t/change-port-for-usermin/35376 "2010-01-12T16:11:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![toreskev](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/toreskev/32/160_2.png) [@toreskev](https://forum.virtualmin.com/u/toreskev)\
**Post date:** [January 12, 2010, 4:11pm UTC](https://forum.virtualmin.com/t/change-port-for-usermin/35376/1 "2010-01-12T16:11:15Z")

</div>

Hi!

I’ve been using Virtualmin GPL for about 6 months now (with great success I might add) and is also quite pleased with Usermin. However, I now have a new employer which doesn’t allow connections to ports other than 80, 443 and 8080 from their network. In other words, I can’t read my mail from work. My question therefore is, is it possible to change what port usermin uses? For now I have just setup a squirrelmail-installation on another domain, but I think it’s a hassle to use two different webmail solutions. (Also a problem with the sq-mail is that I can’t get the webmail.domain redirect to work either, it still just redirects to usermin).

I appologize for a messy post, but hope somebody can help me. Thank you!

BTW, thanks for a great product!

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [January 12, 2010, 6:52pm UTC](https://forum.virtualmin.com/t/change-port-for-usermin/35376/2 "2010-01-12T18:52:04Z")

</div>

Sure… if you go into Webmin -\> Webmin -\> Usermin Configuration -\> Ports and Addresses, you can change the Usermin port in there.

-Eric

---

<div class="post-metadata">

**Author:** ![toreskev](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/toreskev/32/160_2.png) [@toreskev](https://forum.virtualmin.com/u/toreskev)\
**Post date:** [January 12, 2010, 7:24pm UTC](https://forum.virtualmin.com/t/change-port-for-usermin/35376/3 "2010-01-12T19:24:39Z")

</div>

Thanks, I never even thought of checking there. Works like a charm! 🙂

---

<div class="post-metadata">

**Author:** ![ziomik](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/c5a1d2/32.png) [@ziomik](https://forum.virtualmin.com/u/ziomik)\
**Post date:** [March 7, 2012, 3:10pm UTC](https://forum.virtualmin.com/t/change-port-for-usermin/35376/4 "2012-03-07T15:10:18Z")

</div>

if the port is already occupied by other processes during the initial installation, there is the possibility to choose a different port before installing? Thank you.

---

<div class="post-metadata">

**Author:** ![dsstrainer](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/d/258eb7/32.png) [@dsstrainer](https://forum.virtualmin.com/u/dsstrainer)\
**Post date:** [April 6, 2012, 3:46pm UTC](https://forum.virtualmin.com/t/change-port-for-usermin/35376/5 "2012-04-06T15:46:52Z")

</div>

I had the same problem. My employer blocks all but 80 and 8080.  
But they allowed putty shell access…  
so If you have shell access, you can do this to change the port

1. Login to your host (rackspace in my case)
2. From root, type:  
nano etc/webmin/config/miniserv.conf
3. change the port and listen from 10000 to 8080
4. Save
5. Then type:  
./etc/webmin/config/restart

You should be all set to login to webmin with port 8080 instead of 10000 now.

---

<div class="post-metadata">

**Author:** ![herculesnetwork](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/h/e9bcb4/32.png) [@herculesnetwork](https://forum.virtualmin.com/u/herculesnetwork)\
**Post date:** [September 21, 2015, 7:48pm UTC](https://forum.virtualmin.com/t/change-port-for-usermin/35376/6 "2015-09-21T19:48:53Z")

</div>

this is very simple, I have always done, change the virtualmin door, but I can no longer use the subdomain [webmail.mydomain.com](http://webmail.mydomain.com), why? he always redirect pair the old port 20000, page note found. I have to use: [mydomain.com](http://mydomain.com):newport to access usermin mails.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:39am UTC](https://forum.virtualmin.com/t/change-port-for-usermin/35376/7 "2020-04-30T05:39:52Z")

</div>

Closed on April 30, 2020, 5:39am UTC


