You can either use an IP scanner tool or you can use the Xbox Companion app to view your consoles IP address on your PC. Having an IP scanner tool on your PC is useful for other things as well. The computer and Xbox must be connected to the same network either via ethernet or via Wi-Fi.