I'm trying to play stw after just buying it, and it can't connect to the servers, my wifi is fine. How do i fix this?

I’m trying to play stw after just buying it, and it can’t connect to the servers, my wifi is fine. How do I fix this? I’ve tried restarting the game multiple times.