Can't run ssh server

Hello, I’m a total newbie in networking so this maybe a stupid question.

I have a linux mint laptop and a IPad, I want to create a codeserver so I was following this guide Coding on iPad using VSCode, Caddy, and code-server · Tailscale
after I put this
ssh @<copied 100.x.y.z address
I get ssh: connect to host myip port myport: Connection refused
I already did sudo tailscale up --ssh
so I don’t know what am I doing wrong
Thanks in advance.