SOLVED - correct procedure to change webmail/controlpanel ports

Discussion in 'Installation/Configuration' started by barbarab, Mar 28, 2022.

  1. barbarab

    barbarab Member HowtoForge Supporter

    Hi, I've just discovered that I cannot open the 8080 and 8081 ports in the modem of my new fiber connection because these are in use by the company (brilliant idea).
    As I now have to change these ports, I'm asking if it's enough (and the correct way) to edit the two files below changing the port number in the first three lines.
    1) /etc/apache2/sites-enabled/000-apps.vhost
    Listen 8081
    # NameVirtualHost *:8081
    <VirtualHost _default_:8081>
    2) /etc/apache2/sites-enabled/000-ispconfig.vhost
    Listen 8080
    NameVirtualHost *:8080
    <VirtualHost _default_:8080>
    Thank you for any help
    PS. Could that changement affect in some way the letsencrypt certificate?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I have never changed the 8080 port, but I assume it should be done using ispconfig_update.sh, with --force if needed. Then choose yes to reconfigure services and choose ISPConfig Port.
     
    ahrasis and Jesse Norell like this.
  3. barbarab

    barbarab Member HowtoForge Supporter

    Thank you. Eventually I just had to change the public port with something different from 8080 and 8081 in the modem and it worked.
     

Share This Page