Start Command Prompt as administrator and use this commands to solve this issue:
netsh winsock reset
netsh int ip reset
First command reset winsock and the second reset TCP/IP stack.
1. Windows Sockets API (WSA), later shortened to Winsock, is a technical specification that defines how Windows network software should access network services, especially TCP/IP;
2. This common protocol on the internet is the Transmission Control Protocol/Internet Protocol (TCP/IP).The TCP/IP stack is a complete set of networking protocols ( OSI Model of this is layer 4);