Home > bitburner > NS > getServerNumPortsRequired
Returns the number of open ports required to successfully run NUKE.exe on the specified server.
Signature:
getServerNumPortsRequired(host: string): number;| Parameter | Type | Description |
|---|---|---|
| host | string | Hostname of target server. |
Returns:
number
The number of open ports required to successfully run NUKE.exe on the specified server.
RAM cost: 0.1 GB