when to enable the server?