I could not find a built-in way of doing so, then I did need to patch some files, and will write here maybe help others and is a good way to remember myself…
The harvest.conf file has the “port” and “server” variables so you can configure the log.io-harvest server to listen on specific host/port pairs. But the log.io-server does not. The server.conf file just have a comment before the configuration of the “port” parameter, and I did think that maybe without “saying” that configure a specific host was possible, I could try to add a “host: ‘’,” line and it would work… well, did not.
The solution was to find the right files to understand what exactly were the procedures called and etc. Well, I really do not have any familiarity with node.js, and I’m not proud of it. But with some find, grep, I could find the ones.
The first file is the script:


After looking at the script above, I could see why adding that line on the configuration file was not working. The last three lines on that file are:

 // Instantiate & run
var server = new logio.Server(HTTPServer);

So, I changed the last one to be:

 server.listen(config.port, config.host);

Did it a try, and not worked… so, looking for that functions (logio.Server and listen), I came to the file:


And the function:

 // Create HTTP Server, bind socket
   listen: function(port) {
    this.io = io.listen(this.http_server);

I changed it to:

  // Create HTTP Server, bind socket
   listen: function(port, host) {
    this.http_server.listen(port, host);
    this.io = io.listen(this.http_server);

And that’s it! Now running: “forever start /usr/local/bin/log.io-server”, and looking at the netstat’s output:

netstat -al | grep 8998
tcp   0  0 localhost:8998  *:*  LISTEN     

The only problem is that nginx (the reverse proxy I was planning to use), does not support the websocket yet. So, After this configuration, I will need a reverse proxy (or nginx plugin etc), to access this Log.IO server from the outside. As this Log.IO feature will be inside another application and so Log.IO cannot be listening on port 80 by itself.

Just a last bit of information, I’m using the Log.IO version v0.2.7.
Hope that helps…