Support multiple APP_HOST and APP_PORT