Yes, you can. Just open Command Prompt (Windows) or Terminal(Mac OS X), type ipconfig /all and hit Enter. This will give you two lines of output. One for IPv4 and one for IPv6.