Solved by dnaik in post #7 
              
              
                This turned out to be a firewall issue. I had to allow to and from rules of the node 2 in the firewall settings of the node 1 (master node). 
sudo ufw allow from  ..*.0/24 
sudo ufw allow to ..*.0/24