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: " dial tcp 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.