title: TCP Sampler in Jmeter Socket connection error
body: <p>I'm trying to send a message from Jmeter to a server via a TCP sampler
  I have configured the IP, port number, and message in sent to message box then I started to hit server at this time I'm getting the following warning in Jmeter.</p>
  
  <p>And also let me know the <code>TCP Client Class Name</code>, <code>End Of Line Byte</code> field value in Jmeter.</p>
  
  <pre><code>015/04/17 18:00:30 WARN  - **![jmeter.protocol.tcp.sampler.TCPSampler: Could not create socket for tcp://port&amp;IP java.net.ConnectException: Connection timed out: connect][1]**
  at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
  at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  at java.net.Socket.connect(Socket.java:589)
  at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.getSocket(TCPSampler.java:183)
  at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.sample(TCPSampler.java:399)
  at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
  at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
  at java.lang.Thread.run(Thread.java:745)
  </code></pre>