I have installed a nodejs app running under pm2. When running it keeps going to an external proxy.
At the linux command prompt
echo $http_proxy