Node JS Time zone
const nDate = new Date().toLocaleString('en-US', {
timeZone: 'Asia/Calcutta'
});
console.log(nDate);
How we can restart aws ec2 servers in ssh auth
need to go to the aws api folder then run this command
pm2 restart index.js
pm2 list ----for check the server is offline or online.
Windows 10 how to access ec2 server with windows server.
first you need to run from where you prm file is. then you need to press right click then
git base ---- then go to the aws instance ssh client copy and past the link.