title: Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code
body: <p>I am trying to run a Jmeter test on remote machine ( macOS sierraO).
  I configured <code>jp@gc - Chrome Driver Config</code> and I can connect to the slave machine. However, whenever I try to run it I get</p>
  <pre><code>Starting ChromeDriver 73.0.3683.20 (XXXXXXX) on port XXXX
  Only local connections are allowed.
  Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
  Mar 08, 2019 12:12:35 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  INFO: Detected dialect: OSS
  Using local port: XXXXXX
  2019-03-08 13:04:39.171 java[10402:23852395] IMKInputSession [0x7f8bcbaaf740 presentFunctionRowItemTextInputViewWithEndpoint:completionHandler:] : [self textInputContext]=0x7f8bcbb578f0 *NO* NSRemoteViewController to client, NSError=Error Domain=NSCocoaErrorDomain Code=4099 &quot;The connection from pid 0 was invalidated from this process.&quot; UserInfo={NSDebugDescription=The connection from pid 0 was invalidated from this process.}, com.apple.inputmethod.EmojiFunctionRowItem
  </code></pre>
  <p>I know this is related to the <a href="http://chromedriver.chromium.org/security-considerations" rel="nofollow noreferrer">security consideration</a>, but I couldn't find a way to solve for my use case.</p>
  <p>My use case is:
  I am running jmeter test using:</p>
  <ol>
  <li>Run remote server directly from Jmeter 5.1</li>
  <li>Run using java-maven-plugin project.</li>
  </ol>
  <p>Any thoughts how to configure chromeDriver to run on remote server would be appreciated.</p>