Checking Network Settings
Open [Command Prompt] on Windows, type ipconfig /all and press the Enter key.
It displays the IP address assigned to your computer along with the subnet mask, gateway, and DNS server information.
Open [Terminal] on macOS. Type ifconfig -a and press the Return key. The IP address assigned to the computer is indicated in the [enX] item (X: number) next to [inet], in the format “***.***.***.***”.
For information about [Terminal] see the Help menu on macOS.