Accessing SMB via ZeroTier

Has anyone ever tried to access a smb shared folder within the same zerotier network using android java?

I’m currently working on an app that connects a zerotier node first and then tries to get access to a smb shared folder.
The zt-node is connecting but the smbj connection always fails and I don’t know why.

I can access the folder on my windows pc just fine by using \ip\folder

But when I try to connect using smbj.connect(“ip”), it always fails.

Has anyone experience with this?