Hi Leehyaah,
· What is the complete error message?
· How long have you been facing this issue?
· Did you make any recent changes prior to the issue?
Follow the methods listed below:
Method 1: This issue occurs if Windows Socket is corrupted. Resetting WinSock is the fix.
Resetting Winsock has helped lot users in fixing the issue.
Follow these steps:
a. Click “Start”.
b. Type “cmd” in the Start search box.
c. Right-click “cmd” and click “Run as administrator.”
d. Enter the following command and hit “Enter”:
netsh winsock reset
Restart your computer and see if that fixes the issue.
Method 2: Perform a system restore to a point prior to the issue and check if that fixes the issue.
Also refer:
System restores
http://windows.microsoft.com/en-us/windows7/What-is-System-Restore
System Restore: frequently asked questions
http://windows.microsoft.com/en-us/windows7/System-Restore-frequently-asked-questions
Hope this information helps.