In the left pane, click Allow an application or feature through Windows Defender Firewall. In the Allowed Applications window, click Change Settings. Check Spotify and make sure Spotify is checked under Private and Public. Click OK to confirm.