arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change VestaCP Port
#1
Hi guys,

The default port for VestaCP is 8083. In this tutorial, I shall be showing you how to change it.
  1. Log into your Vesta Control Panel.
  2. Click on Firewall on Your Vesta menu
  3. Click on the Green Plus button to add the New Port
  4. I will be changing my port to 2019.  For the new port, add the details as follows:

    Action:  ACCEPT

    Protocol: TCP

    Port: 2019

    IP Address: 0.0.0.0/0

    Then click Add, to add the new port to your Firewall.
  5. Next edit the NGINX config file to listen to the new port, in my case 2019.
  6. To do this, login into your SSH client. Make sure you are the root user or a user with root (sudo) privileges.
  7. Issue the following command:
    sudo vi /usr/local/vesta/nginx/conf/nginx.conf


  8. Press the INSERT key.
  9. Scroll down to the area which says:
    listen 8083;


  10. And change it to:
    listen 2019;


  11. Then exit out of the editor by pressing Esc key and then type :wq and press Enter.
  12. Then restart Vesta using the Command below.
    sudo service vesta restart


  13. Now log into your VestaCP using the new port as follows.
    Your-IP-Address:2019


  14. Finally, you may delete the old port, 8083.

    To delete the port 8083 from your Firewall, just click on Firewall on your Top Menu within Vesta.

    Then hover over port 8083 and delete it.
That’s how to replace port 8083 on VestaCP. Hope you guys enjoyed the tutorial.

Regards,
Sayan Bhattacharyya,

Heartiest thanks to Post4VPS and Virmach for my wonderful VPS 9!


Messages In This Thread
Change VestaCP Port - by Sn1F3rt - 08-05-2019, 12:02 PM
RE: Change VestaCP Port - by ikk157 - 11-01-2019, 09:00 AM
RE: Change VestaCP Port - by Sn1F3rt - 11-01-2019, 09:54 AM
RE: Change VestaCP Port - by ikk157 - 11-01-2019, 11:08 AM
RE: Change VestaCP Port - by Mashiro - 11-01-2019, 11:17 AM
RE: Change VestaCP Port - by ikk157 - 11-01-2019, 11:50 AM
RE: Change VestaCP Port - by Mashiro - 11-01-2019, 11:56 AM
RE: Change VestaCP Port - by tiwil - 11-03-2019, 02:31 AM


person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting