How can I check if the NodeMCU ESP32 is connected to WiFi from an external source?

What is the IP address of the PC?