You can use the DIG command from the command line user@debian9:~ $ dig +short myip.opendns.com @resolver1.opendns.com to resolve the pubic IP the node is using.
I apologize for veering off topic here, but "curl http://checkip.amazonaws.com/" is another favorite of mine for checking public IP address of a server / headless system. Just SSH in and paste that into the shell.