I use a tool that runs JMeter instances in parallel on one machine. When I
 upgraded from JMeter 2.3 to JMeter 2.4, I hit this  error running 2 JMeter
instances in non-GUI mode:
------------------------
java.net.BindException: Address already in use: Cannot bind
-------------------------

I was pretty mystified until I saw this old post about JMeter binding to a
shutdown port in non-GUI mode:
--------------------------
http://osdir.com/ml/jmeter-user.jakarta.apache.org/2009-11/msg00117.html

if you are running jmeter in parallel on the same machine then you are
probably getting this problem due to the shutdown port (port 4445) specified
in jmeter.properties.
--------------------------

I've now set this port value to 0  (the suggested workaroud) and my tests
work. I  wanted to suggest an alternative approach -- JMeter catching the
BindException and attempting to bind to the next-up port.

Reply via email to