Monday 23 July 2018

Find All Existing IP Addresses on Local Network with Specific Port

I'm basically using Socket.io to communicate between Express apps on a local network, however I'm having trouble finding a solid method to scan for all available IP/port combos (right now I'm telling my app which IPs to look at manually). Pining all possible IP addresses with node-ping keeps crashing my app, and it seems like there's gotta be a better method for finding all ip addresses on the network that follow the 192.168.1.___:9000 format. I'm new to working with sockets and ports so I'm probably missing something obvious. Thanks!

Submitted July 23, 2018 at 10:33PM by justin2taylor

No comments:

Post a Comment