I fixed it.
I’m fairly sure that it was because the firewall asked me for permission to connect to the program on private/public network and I checked yes for both of them.
My suggestion to fix it then is turn off firewall/anything else interfering with blocking programs from accessing your internet. Whitelist the program on your firewall to be sure.
I also watched this youtube video and I’m not sure if that’s what fixed it but it’s possible.