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

Upgrade MySQL database from 5.6 to 8.0

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

OpenVZ virtualization

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

Change MediaCP Domain Name

It is possible to change the domain name of the MediaCP by following the procedures below. 1....

Capture log files for troubleshooting

MediaCP log files for core application services are stored at /usr/local/mediacp/log/ and are...

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:...