How to connect VM with Eggplant application to another VM with SUT.

I’m getting connection failed.

How you trying to connect using RDP or VNC?

If using RDP, did you tried to connect to VM 2 from VM 1 using RDP (mstsc) if it is not success then enable the RDP settings in MyComputer->Properties->Remote Settings.