Created an app and while deploying the app to portal, visual studio threw and error with failed deployment.
Apps are disabled on this site
Good thing is there is lots of article our there to resolve this issue. In my case it was lack of basic configuration which needs to be performed before deploying the Apps.
Follow steps, mentioned in link below to avoid this error.
How to: Set up an on-premises development environment for apps for SharePoint