my-local-ip get your current ip address on the local-network console.log(require('my-local-ip')()) //==> 192.168.1.33 Also, because sometime you need this (cross-platform!) > npm install -g my-local-ip > my-local-ip 192.168.1.33 License MIT