I know the solution to this error is usually by going into your system32 and deleting the mojang parts in that one host file, but my host file doesn't even have those. Also joining servers on unmodded minecraft still work. I tried reparing the profile, repairing curseforge installation, and uninstalling/reinstalling with no success. I've played all the mods 7 before so this bug is stumping me. Any help is greatly appreciated.