K3s worker node not joining master node

I am using Rasberry pi OS on virtual machine (Oracle VM )

I installed k3s on the master node via

  **curl -sfL https://get.k3s.io | sh -**

I then copied the token from /var/lib/rancher/k3s/server/node-token and installed on the worker node using curl -sfL https://get.k3s.io | K3S_URL=https://myserver:6443 K3S_TOKEN=mynodetoken sh -

When I run the command on the worker node, the command runs without any output. It just ends. But when I do kubectl get nodes, it only shows the master node, so it looks like the worker node did not actually connect. Does anyone know what’s going wrong? Please help me with this …