解决:windows server2008 tomcat7 nginx upstream timed out 10060,请求经常卡死

非常感谢这篇博文,参考后完美解决我的问题:

http://blog.csdn.net/u010267491/article/details/52775115 

背景:小程序+https,后台使用的是nginx+tomcat7,但是正常发送几个请求就会有一个卡主超时,nginx报错如下:

upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, ....

参口以上博文后把nginx配置servername 从localhost修改为127.0.0.1后问题解决,


解决:windows server2008 tomcat7 nginx upstream timed out 10060,请求经常卡死_第1张图片

你可能感兴趣的:(java,微信小程序,tomcat)