public function buildLocalhost(array $ports = [8087]) { $nodes = []; $this->atHost('localhost'); foreach ($ports as $port) { $nodes[] = $this->onPort($port)->build(); } return $nodes; }