When using VMWare, you may be trying to access the SQL server in the host machine from the VM. Be default, SQL server remote connection is disabled and also the host machine firewall may be blocking the 1433 port which is normally used for SQL connection. In order to enable the firewall and the TCP port, you can follow the below steps mentioned in the SO.