It seems like some sort of network issue. I would try disabling Windows firewall and see if that helps.
You can also try enabling universal plug and play (UPNP) in home router settings or assigning the PC a static IP address and putting the PC in the router's demilitarized zone (DMZ). I wouldn't leave the PC in DMZ for long because the router's firewall will no longer be protecting the PC.
Other things to try is disabling IPv6 in Windows OS and/or router settings. You can also try changing the DNS server ip address in Windows settings.