allow set env APPPORT to start server