Connect: connection refused

Good day

I am attempting to install snaps from the snapstore using ssh command “snap install raptorsnap” but I get the following error message: " https://api.snapcraft.io/v2/snaps/refresh: dial tcp 127.0.0.1:443: connect: connection refused".

I am running Ubuntu core 18 on an Asus PE100a edge gateway. I am a complete novice and have just started out with this kind of work, please be kind. Your assistance would be appreciated.