Home

How to fix error code 20 the proxy failed to connect to the web server, due to TCP connection timeout.?

Alton Alexander
By Alton AlexanderUpdated on June 4th, 2022

The error code 20 the proxy failed to connect to the web server, due to tcp connection timeout occurs when the web server is not responding to the proxy's requests in a timely manner. This can be due to a number of reasons, including a slow or overloaded web server, network congestion, or a firewall blocking the proxy's requests. In any case, the error code 20 indicates that the proxy was unable to establish a connection to the web server.

You are here because you have a question about:

  • mtv app error code 20
  • error code 20 the proxy failed to connect to the web server, due to tcp connection timeout.
  • incapsula error code 16

1. Try increasing the 'Connection Timeout' value in the Proxy Server settings

  1. Open the Proxy Server settings in IIS.
  2. Click the 'Connection Timeout' link.
  3. Enter a new value in seconds.
  4. Click the 'Apply' button.

2. Try resetting the Proxy Server settings to defaults

  1. In the Windows Control Panel, open the Network and Internet Connections window.
  2. Right-click the network connection that needs to be reset, and then click Properties.
  3. In the Properties dialog box, click the Advanced tab.
  4. Under the TCP/IP section, click the Properties button.
  5. In the TCP/IP Properties dialog box, set the TCP connection timeout to 3 minutes, and then click OK.
  6. Close the TCP/IP Properties dialog box.
  7. Close the Network and Internet Connections window.
  8. Restart the proxy server.

3. Try restarting the computer

  1. Open the "Start" menu, and then choose "Run".
  2. Type "net stop w3svc" (without the quotation marks) and then press ENTER.
  3. Type "net start w3svc" (without the quotation marks) and then press ENTER.
  4. Type "netstat -an | find "tcp" | cut -d" " -f1"
  5. The tcp line should show a connection to the web server, but the timeout value should be large. If the timeout value is not large, then the proxy may not be the problem.
  6. Type "netstat -an | find "udp" | cut -d" " -f1"
  7. The udp line should show a connection to the web server, but the timeout value should be large. If the timeout value is not large, then the proxy may not be the problem.
  8. Type "netstat -an | find "icmp" | cut -d" " -f1"
  9. The icmp line should show a connection to the web server, but the timeout value should be large. If the timeout value is not large, then the proxy may not be the problem.
  10. Type "netstat -an | find "arp"
  11. The arp line should show a connection to the web server, but the timeout value should be large. If the timeout value is not large, then the proxy may not be the problem.

4. Try re-configuring the Proxy Server settings

  1. Open the Internet Options dialog box.
  2. Click the Connections tab.
  3. Select the proxy server you want to configure.
  4. In the Proxy Server Settings dialog box, click the Timeout tab.
  5. In the Timeout dialog box, set the value to a higher number, such as 300 seconds.
  6. Click OK to save the changes.

5. Try using a different Proxy Server

  1. Open your web browser and type the following into the address bar: http://proxy.server.com:8080
  2. If the proxy server is working, you will be prompted to enter your login credentials.
  3. Once you have logged in, you will be prompted to select a proxy server.
  4. Click on the "Proxies" tab and select the "Use a different proxy server" link.
  5. Enter the proxy server address into the "Proxy Server" field and click on the "OK" button.
  6. You will now be redirected to the web page that was being blocked.