[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getIP](./bitburner.ns.getip.md) ## NS.getIP() method Returns a string with the IP address of the server that the script is running on. **Signature:** ```typescript getIP(): string; ``` **Returns:** string IP address of the server that the script runs on. ## Remarks RAM cost: 0.05 GB