Refreshing data from an on-premises source requires a Pro license as detailed here:
https://powerbi.microsoft.com/en-us/pricing/
Without a Pro license, you will not have the ability to refresh data from an on-premises source through the gateway, regardless of whether or not the gateway is installed and online.