Zerotier not working with Minecraft ?!

i just began using zerotier because I heard good things from the smash community about it so i tried using it on a Minecraft server and it doesn’t work the server doesn’t show up as being able to connect

it just says can’t connect to server

could anyone tell me how to fix it ?

P.S

do I have to change the Minecraft’s server port or is the default fine?

every guide I saw didn’t change it
I’m able to ping the both of em i just can’t connect to em from minecraft

It Was a firewall problem