can start and stop server and set port