How to disable Server mode?

Description

I want to disable server mode in my PC. For security purpose. So, it will be Player mode only

Devices

PC