Feel free to download and see what the file actually does, and if you want to upload a file and run local here is the script in the file.
curl http://www.nodehost.ca/scripts/sh/vestacp_changeport.sh > vestacp_changeport.sh && bash vestacp_changeport.sh