NickName:Silvering Ask DateTime:2019-01-15T20:58:33 Control a mac with nodejs server I do not really know where to post this question.. I have a nodejs server running on my mac. It listen for message if it receives "shutdown" then I run a command which turns off the mac. This works really great locally in my network. Now how to do the same but outside my local network. Lets say that I want to turn of my computer outside my house always using my nodejs script? Using dns setup? Thanks in advance! Copyright Notice:Content Author:「Silvering」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.Link to original article:https://stackoverflow.com/questions/54199353/control-a-mac-with-nodejs-server Answers