Change MediaCP Panel Port

If you would like to use a different port than port 2020 on your Media Control Panel, you can set it to use an additional port.  

We strongly recommend you use the default port 2020 as many parts of the panel utilize this, if you do use another port we also reccomend never disabling port 2020.

You can add another port such as 8080 with the following command:

echo "listen 8080;" > /usr/local/mediacp/nginx/conf.d/8080.conf

Then you must restart nginx:

/usr/local/mediacp/service restart

 

If you are interested in instead removing the port altogether from your pane URL then you can complete this by following this guide: Remove port 2020 from URL Port 80 / 443 Proxy

  • port, 2020
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

There is not enough space on this disk to backup the MediaCP and contents

While performing a backup (either automatic or manual) you may encounter the error message below:...

Differences between MB, GB and MiB, GiB

MediaCP uses a digital metric of units when referring to data size. In this case 1 (GB) Gigabyte...

OpenVZ virtualization

During the installation or upgrade of MediaCP you might receive the following notice: ERROR:...

Upgrade MySQL database from 5.6 to 8.0

There is a significant performance advantage by upgrading the MySQL service running on the...

Unable to access MediaCP on port 2020

There are typically only two reasons why the Media Control Panel is inaccessible: The mediacp...