     # Default front.start options
     options.port = options.port || 3000
     options.host = options.host || "0.0.0.0"
-    options.apiEndpoint = options.apiEndpoint || "ws://localhost:3001"
+    options.apiEndpoint = options.apiEndpoint || "ws://0.0.0.0:3001"
 
     express = require('express')
     connect = require('connect')

        wsClient.send 'i am front-end ' + process.pid

        wsClient.on 'message', (message) ->
          
          logger.info('front ' + process.pid +  ' received message: ' + message);

          valid = false

            valid = false

          if valid
            # If there is a valid socket.id in the current list of server sockets
            if (typeof message[1].sid is 'string' and typeof engineIOServer.clients[message[1].sid] is 'object')
              # Send the message
              engineIOServer.clients[message[1].sid].send(JSON.stringify(message, true))

          callback null, server