Login to the computer or VM machine where the SQL server for Foundation is located.
Open Run, to do this on your keyboard press Win Key + R
Within the Run Dialogue box, enter cmd and click on Ok
The command prompt window will appear. In this window, type hostname and press Enter.
The database host name will be displayed.