Having problems setting up NAT network

I’m going into the vm’s settings and selecting the option of ‘NAT network’ changing it from the default ‘NAT’ option. I also selected the name of the network as instructed, but when I’m starting the vm it is showing the wired network but it’s not able to connect to it and shows that connection is failed. What can I do to resolve this problem?