See and set the following section in jmeter.properties:
# If running non-GUI, then JMeter listens on the following port for a shutdown message: jmeterengine.nongui.port=4445 jmeterengine.nongui.maxport=4555