if the CMS is running and ping to CMS server machine works fine then
you may get this error ,if you are installing from a package using a UNC path (\\servername\folder\..\setup.exe), instead use a Mapped Drive or copy the installation package locally