from fastapi import FastAPI from fastapi.responses import HTMLResponse app = FastAPI() @app.get('/', response_class=HTMLResponse) def read_root(): return '''
The previously used port (8000) is often used by other servers, which results in port conflicts. So the project's port number has been changed, while the project is still young. Otherwise port-conflicts with 8000 will be a common source of new-user issues in the future.
Sorry about this, and apologies for the inconvenience :)
'''