# Turn server on ## Connect to the machine ### Download Metatalk.pem file - Get the file [here](https://drive.google.com/file/d/1Mx7obbmq7pSLCsIwgszGSWpmF88uysFr/view?usp=sharing) ### SSH In the same path of the `Metatalk.pem` file, execute: ```bash ssh -i "Metatalk.pem" ubuntu@ec2-107-21-57-250.compute-1.amazonaws.com ``` ## Start application at port 80 Followed the solution in this [post](https://stackoverflow.com/questions/60372618/nodejs-listen-eacces-permission-denied-0-0-0-080 ): ```bash > sudo apt-get install libcap2-bin > sudo setcap cap_net_bind_service=+ep `readlink -f \`which node\`` ``` ## PM2 Using pm2 to make the npm process run forever ```bash= npm install -g pm2 pm2 start <app> pm2 status ```