CheckConnection is a small NVDA add-on that checks its internet connection and gives its public IP address.
The default gesture is 'NVDA+SHIFT+g'. You can change it in "Command gestures" dialog, miscellaneous section.
Press the shortcut twice in quick succession to show the information on screen. One press gives the information via a flash message.