function isValidHost()

in Code.gs [405:415]


function isValidHost(host) {
  if(!host) {
    throw 'Cluster details cannot be empty.';
  }
  if(!host.host || !host.port) {
    throw 'Please enter your cluster host and port.';
  }
  if(host.host == 'localhost' || host.host == '0.0.0.0') {
    throw 'Your cluster must be externally accessible to use this tool.';
  }
}