Making a new C++ project won't compile

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.16/Engine/Binaries/DotNET/UnrealBuildTool.exe ctest Development Win64 -project=“D:/unreal proj/ctest/ctest.uproject” -editorrecompile -progress -NoHotReloadFromIDE
Performing full C++ include scan (building a new target)
Creating makefile for ctest (no existing makefile)
@progress push 5%
Parsing headers for ctestEditor
Running UnrealHeaderTool “D:\unreal proj\ctest\ctest.uproject” “D:\unreal proj\ctest\Intermediate\Build\Win64\ctestEditor\Development\ctestEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for ctestEditor in 7.203542 seconds
@progress pop
Distributing 8 actions to XGE
Fatal Error: Failed to open/create session data
Failed to open/create session data: STATUS_ACCESS_DENIED

ERROR: UBT ERROR: Failed to produce item: D:\unreal proj\ctest\Binaries\Win64\UE4Editor-ctest.dll
Total build time: 13.57 seconds (XGE executor: 0.00 seconds)

enabled the windows firewall then showing this new bug

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.16/Engine/Binaries/DotNET/UnrealBuildTool.exe a Development Win64 -project=“D:/unreal proj/a/a.uproject” -editorrecompile -progress -NoHotReloadFromIDE
Performing full C++ include scan (building a new target)
Creating makefile for a (no existing makefile)
@progress push 5%
Parsing headers for aEditor
Running UnrealHeaderTool “D:\unreal proj\a\a.uproject” “D:\unreal proj\a\Intermediate\Build\Win64\aEditor\Development\aEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for aEditor in 7.1885283 seconds
@progress pop
Distributing 8 actions to XGE
Fatal Error: Failed to start build.
Failed to connect to Build Service (on local machine): Server is not reachable

ERROR: UBT ERROR: Failed to produce item: D:\unreal proj\a\Binaries\Win64\UE4Editor-a.dll
Total build time: 13.34 seconds (XGE executor: 0.00 seconds)