I'm using VMWare Workstation Player 12.1 and I have finally managed to install vmnetcfg.
I went to the NAT settings and tried to add the ports there. I used IPv4 address of my virtual machine as a Virtual Machine IP.
I then applied the settings and restarted the virtual machine but the ports...