This IOException is possibly thrown due to a blocked port (25565) in your firewall settings. If you cannot change your firewall settings directly, try setting them to medium or low, then the port shouldn't be blocked anymore. I'm telling you this (even if it doesn't work) because I had the same problem several years ago (I used a temporary internet connection with high firewall settings back then).
This IOException is possibly thrown due to a blocked port (25565) in your firewall settings. If you cannot change your firewall settings directly, try setting them to medium or low, then the port shouldn't be blocked anymore. I'm telling you this (even if it doesn't work) because I had the same problem several years ago (I used a temporary internet connection with high firewall settings back then).