Control a mac with nodejs server
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

More about “Control a mac with nodejs server” related questions

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

Show Detail

Expected MAC different than incoming one from NodeJS to Go server

I'm having trouble trying to implement HMAC between my NodeJS and my Go servers. Right now, the expected MAC generated from my Go server is different than the actual MAC coming from my NodeJS serve...

Show Detail

nodejs server - mac terminal crash every one hour

I got a live server running nodejs chat app. I connect to server using terminal on mac. I start the server by typing server.js. the problem is, my terminal always hung after one hour running, and...

Show Detail

nodejs get mac address of client

I created a Tcp server using net module in NodeJS and tried to get the mac address info from each client to generate uuid. However, in the Socket object, there is no information about it. Also I tr...

Show Detail

Read Access Database file (.mdb) with NodeJS on Mac?

I would like to open a *.mdb file (Access Database) for read only (need a SQL access, not just open the file). The main issue is that I need to open it in a NodeJS server, that runs on Mac OS X. ...

Show Detail

Code version control when developing in .NET/SQL Server 2005 on a Mac

I recently started a new job where the office environment is Mac-based, but I will be developing in .NET and SQL Server. I'm already pretty sold on installing VMWare Fusion to set up a virtual XP...

Show Detail

Can not upload image from MAC or ubuntu from server in nodejs

I am trying to upload image using multiparty in nodejs. It is working fine in local host but having problem when uploading from server. Here is the code module.exports.uploadimg = function (req, ...

Show Detail

keep nodejs server on azure VM running

I have a Windows Azure VM(linux server 14.04) running and am able to access the VM using command line on my mac/windows machines. I'm running a node.js server and a mongodb instance on this Azure V...

Show Detail

Remote control with nodejs and cordova

I want to create a sort of remote control from my smartphone to my pc. I've created a server in my pc written with nodejs (using expressjs) and listening in a port. I want to make an app for my

Show Detail

Mac nodejs public directory permissions 'Forbidden'

I'm using nodejs w/ expressjs on a Mac and the static files (css/js/img) for the client side, always show as 'Forbidden'. I've tried setting chown on these directories to 777 and running node us...

Show Detail