You need to provide more information like the error message when you execute the join command.
Also you need to keep this one thing in mind especially when you're adding a node that is running on the same system just different virtual machine. change the IP address of the worker node because when you're trying to connect a worker node that's working on the same system just on different virtual machine, it'll have the same IP address as the master which will prevent the node from joining.