net::ERR_CONNECTION_RESET in WordPress when uploading images or creating new post

Solution:1

Contact your web hosting company and ask them to increase your PHP memory limit.

  • Or you can increase by adding the below code in the wp-config.php filedefine( ‘WP_MEMORY_LIMIT’, ‘256M’ );
  • Or you can also increase it by adding the below code in .htaccess filephp_value memory_limit 256M
  • Or you can also increase it by adding the below code in web server’s php.ini filememory_limit = 256M

Solution:2

We recommend that you check the functionality of the website you want to access before you attempt anything with the browser and system setup to rectify the “ERR_CONNECTION_RESET” problem. The first thing to do is to try and access any other website and if this doesn’t result in a 101 error, this is a clear sign that the problem lies just with the website in question. However, to ensure that the browser and system are not solely responsible for the connection problem, you should also try using a different browser. For example, if you open the web application with Firefox instead of Chrome, you can rule out a server-side problem.

If you have done these different tests and have come to the conclusion that the error is probably something to do with the website operator, you should contact them. By doing this, you can make them aware of the problem or obtain information on what has been done already to fix the problem.

Solution:3

One of the most common reasons for the “ERR_CONNECTION_RESET” error is that a proxy server has been defined in the internet settings and this is blocking the connection setup. This can be entered automatically by plugins or add-ons that you have added to your browser. The simple solution in this case is to inspect the proxy settings and deactivate proxy access if necessary. To do this, first open the control panel and select “Internet Options.

 

Switch to the “Connections” tab and click on the “LAN settings” button:

You have now reached the menu where you can find your system’s current proxy settings. If you see an entry under the category “Proxy server” here, you should deactivate it by unchecking the box “Use a proxy server for your LAN.

 

Save the changes by clicking on “OK” and then try to access the desired website again.