code: private void startServer() {
          if (mServer.isRunning()) {
              String hostAddress = mServer.getInetAddress().getHostAddress();
              ServerManager.onServerStart(CoreService.this, hostAddress);
          } else {
              mServer.startup();
          }
      }
docs: Start server.