Saturday, August 17, 2019

nginx - solve 'An existing connection was forcibly closed by the remote host'

by / Friday, 09 October 2015 / Published in Blog

If you run nginx on Windows (for development purproses, for instance), you may often experience 'An existing connection was forcibly closed by the remote host' errors.

To get rid of them, add the following lines to your nginx.conf:

keepalive_timeout 65; keepalive_requests 500; proxy_http_version 1.1;
Read 2430 times Last modified on Friday, 09 October 2015 15:09

Do you like this? Please share!

Simon Tushev

Simon is IT professional with interests in web design, electronics, photography and astronomy. He writes about PHP, Yii, Joomla!, Arduino and several other topics.


Here I publish articles related to my areas of interest, my brief notes that may save some time to others, as well as some of my works.

This site is a work in progress. I will add more sections in the future, such as

  • More photos to photogallery
  • More Joomla!-related articles
  • ...



New Posts

Spam/Forgery Notice

If you've received a spam email from, please know that this emails are...

07-03-2019 in Blog


Using dynamic GeoIP module with nginx (CentOS)

nginx introduced dynamic module support in v. 1.9.11. This brief article provides step-by-step procedure...

13-04-2016 in Linux, BSD, Unix


Visual difference between pseudo and true random data

This is is "random" image generated using PHP rand() function: And this is an image...

20-11-2015 in Blog

Scroll to top

We use cookies, just to track visits to our website, we store no personal details Privacy policy