Read the documentation for installing on localhost. You do NOT use your license key for a localhost install as that is tied to a registered domain.