Please see Error Code 2 - Internet connection issue for assistance with troubleshooting the connection error.
If that does not resolve the issue, please provide additional details on what area of the program you are receiving this error message in.