What can cause Wininet to return ERROR_INTERNET_CANNOT_CONNECT?
Glad you asked.
The following winsock errors get translated into ERROR_INTERNET_CANNOT_CONNECT:
- WSAENETDOWN
- WSAECONNREFUSED
- WSAENETUNREACH
- WSAENOTCONN
Learn more about these errors on the Windows Sockets Error Code page.