Windows 10 - CORBA::SystemException: unable to contact the naming service

Hello, I have an issue when trying to start Salome 9.8.0 on Windows 10. The following error occurs:

Searching for a free port for naming service: 2811 - OK
Searching Naming Service found in 0.0 seconds
Searching /Kernel/Session in Naming Service ++Warning, no type found for resource “localhost”, using default value “single_machine”
th. +th. 000000EA01CFFDB0 - Trace e:\s\salome-9.8.0\sources\kernel\src\namingservice\salome_namingservice.cxx [318] : !!!Register(): CORBA::SystemException: unable to contact the naming service
th. 000000EA01CFFDB0 - Trace e:\s\salome-9.8.0\sources\gui\src\session\session_serverthread.cxx [211] : Caught unknown exception.

Can you help me how to fix this?

In the hosts file located in system32/drivers/etc the following is contained:
127.0.0.1 localhost
::1 localhost

Thank you!

The problem is solved by installing VS Code and rebooting.