Thanks for visiting Apple Support Communities.
It sounds like your Mac may not be able to connect to the Mac App Store.
I recommend trying all of the steps in this article:
OS X: "Cannot connect" or "Cannot connect to the App Store. An internet connection is required"