Files
bitburner-src/markdown/bitburner.ns.getip.md

462 B

Home > bitburner > NS > getIP

NS.getIP() method

Returns a string with the IP address of the server that the script is running on.

Signature:

getIP(): string;

Returns:

string

IP address of the server that the script runs on.

Remarks

RAM cost: 0.05 GB