Start and stop the server by self