hi ,i m in big trouble m getting connection refused connect while using ssl over apache http client .
after every 4-5 successfull request ,i m getting socket exception when i change my default ip then it runs properly for 2-3 hours without any socket exception
so as a result i have to change my default ip after every 3 hours which is very improper task . m not able to find out that whether the issue is at server side or my client side
because after changing my ip its starts behaving immediately normal ,and m releasing the connection also properly
When you get a connection refused, you may want to telnet to the ip/port and see whether it is open. If it is not then its surely not a client problem.
It might be a problem of conflicting IPs in your network.
out of 3 lakhs request/day i am getting 50000-60000 connection timeout and around 40000 connection refused
the networking guys are blaming to application that application has issues ,as a developer every resource is properly opened and closed but still cant understand where is the issue
immediately after switching to different ISP i used to get no connection timeout and connection refused
is this is problem is related to server backlog queue?
Its difficult to tell what the issue is without knowing the environment of the server.
Connection refused error is thrown when the port is not open
Connection timeout error typically is thrown when the server is not able to respond to the client on time (one of the reasons is the request queue backlog as you mentioned)