Ansible Mobaxterm login

Hi I have purchased Ansible course and in one of the videos he uses Mobaxterm to ssh to the local host. I have installed Mobaxterm on my windows laptop and when i try to ssh to the centos-template VM, i am unable to access it?

@manash68 did you verified the ssh service is enabled on the VM?
systemctl status sshd

Are you using proxy?

In the video he mentions to use bridged adapter. I changed from bridged adapter to NAT & it worked.