code: public function buildLocalhost(array $ports = [8087])
      {
          $nodes = [];
          $this->atHost('localhost');
          foreach ($ports as $port) {
              $nodes[] = $this->onPort($port)->build();
          }
  
          return $nodes;
      }
docs: Build local node cluster
  
  Build multiple node objects configured with the same host address but different ports. Commonly used in
  development environments where you have multiple Riak nodes on a single machine / vm.
  
  @param array $ports
  @return Node[]