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 your computer is indicated at the [en0] item after [inet] in the format of "***.***.***.***".
For information about [Terminal] see the Help menu on macOS.