code: private String configureHttpPort() {
          String result;
          result = String.format(
                  "sudo sed -i 's@Listen[ 0-9]\\+@Listen %s@g' %s/ports.conf",
                  getEntity().getHttpPort(),
                  getEntity().getConfigurationDir()
          );
          return result;
      }
docs: TODO the port configuration could be modified. So it is needed find Listen and change the port