If you can’t connect to any modded server at all then it’s something on your end. I have windows 11 as well and I never had this issue. Sorry but I’m out of ideas.