title: Jmeter Error: Java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at
body: <p><strong><em>Jmeter Environment Details</em></strong>
  I am performing Jmeter testing on Microsoft Azure Cloud. I have created on VM(Virtual Machine) on the same cloud and from there I am hitting the application server on the same cloud environment. So in this case there is no network latency.</p>
  
  <p><strong><em>Problem Statement:</em></strong>
  I am trying to run the load test for 300 users for 30 mins , but after 5 mins my script started failing, because of <strong>Socket connection refused error</strong>.</p>
  
  <p><strong>My Analysis based on information available on net:</strong></p>
  
  <p>I have read somewhere that this problem is because of limited socket connection limit on server, but when i run the same test from VM then my scripts run's just fine. so its definitely not server's issue. Can somebody please help me resolve this issue? Are there any settings needs to be done in jmeter, increase the socket connections?</p>
  
  <p><strong>Actual Screenshot of Error</strong>
  <a href="http://i.stack.imgur.com/Qeihs.jpg" rel="nofollow">enter image description here</a></p>