To diagnose this as the cause, first launch Minecraft from terminal with the _JAVA_OPTIONS overridden.
This is not trivial as it requires forcing a _JAVA_OPTION override at launch (or system wide). Assuming you've done the normal troubleshooting (such as disabling the Firewall), you're experiencing bug with the networking protocol being used on MacOS (IPv6 versus IPv4), documented in detail here: