Go to Start > Accessories > right click on the Comand Prompt and choose to run as administrator
type this command : netsh winsock resetand then restart your computer and then every thing should work fine