Is there any way to discover the running instance's ip and port? I would like to store this for future access...for instance in order to ping the address to see if it's connectable or not.
Does this make sense? I'm able to get other peers's ip and port from network().on('connection') but not the running instance's details.
Also it'd be great if you could just "ping" a peer's ip and port to see if they are still alive.
Is there any way to discover the running instance's ip and port? I would like to store this for future access...for instance in order to ping the address to see if it's connectable or not.
Does this make sense? I'm able to get other peers's ip and port from network().on('connection') but not the running instance's details.
Also it'd be great if you could just "ping" a peer's ip and port to see if they are still alive.