Have you tried altering from https to http or http to https?
Quite often i find when i get this socket exception its cos im using the wrong protocol
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta