If you want to fix the “hosting mode is off problem of QB”, then you must keep these things in mind.
You should have the most recent version of Quickbooks Software in your device with all the major updates done.
Install the Quickbooks Database Server Manager before starting the troubleshooting process.
Don’t forget to have a look at the prerequisites before doing the troubleshooting process.
Keep the version of the server manager and Quickbooks Desktop same.