Check the agent connectivity on port 4001/4002 via running following commands on VM guest OS:
netstat -ano | findstr "4001"
netstat -ano | findstr "4002"
they must be in stablished state in result
Please mark my comment as the Correct Answer if this solution resolved your problem