So far, this is the only thing that worked for me -https://quickbooks.intuit.com/learn-support/en-us/install/re-qb-crash-right-after-opening/01/167054/highlight...
After adding those host entries, I had a similar issue with licensing as well after a reinstall. Once I removed the hosts entries, all was well with licensing.