It effects every version I've tried at least and I can't get in any of my worlds. It just suddendly happened, I don't know what caused it and how to fix it. I've re-instaled both minecraft and java from scratch, and messed with the firewall settings and nothing seems to better the situation. I've attached the crash repot file. Thank you.
Related issues
Attachments
Comments

Thank you for your report!
We're actually already tracking this issue in MC-34749, so I've resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki