Packer booted vmware-iso vm has no IP allocated during boot, failed to ssh

I use packer to run an automated vmware-iso image build, the configuration file used is attached, and the packer log file is attached as well.

Please help on this problem. thanks in advancevsi_photon.json.txt|attachment (1.4 KB) packerlog.txt (15.1 KB)

The VNC connection is refused.

2020/10/11 10:01:07 ui error: --> vmware-iso: Error connecting to VNC: dial tcp connect: connection refused

Did you open the relevant ports?