service.js
function listenFn(err) {
    debug('%s: start listening on %o', this.name, this.uri.get());
    this.uri.setPort(instance.address().port);
    this.emit('start');
    this.status.state().go('Running');
  }
function listenFn(err) {
    debug('%s: start listening on %o', this.name, this.uri.get());
    this.uri.setPort(instance.address().port);
    this.emit('start');
    this.status.state().go('Running');
  }
// helpers