title: Error code: 135 - ECONNREFUSED when calling npm run protractor in package.json
body: <p>I am trying to add some scripts to <code>package.json</code> to run <em>Protractor</em> tests:</p>
  <pre class="lang-json prettyprint-override"><code>&quot;scripts&quot;: {
      &quot;webdriver-update&quot;: &quot;./node_modules/.bin/webdriver-manager update&quot;,
      &quot;webdriver-start&quot;: &quot;./node_modules/.bin/webdriver-manager start --versions.chrome=84.0.4147.30&quot;,
      &quot;protractor&quot;: &quot;./node_modules/.bin/protractor configuration.js&quot;,
      &quot;start&quot;: &quot;npm run webdriver-update &amp;&amp;npm run webdriver-start&quot;
  }
  </code></pre>
  <p>If I open 2 command prompts &amp; run <code>npm run start</code> &amp; <code>npm run protractor</code>, my tests run fine.</p>
  <p>In the tutorial I am following, they are able to just run <code>npm run protractor</code> &amp; the tests also run.</p>
  <p>However, when I try that then I get this error message:</p>
  <pre><code>protractor configuration.js
  [21:01:19] I/launcher - Running 1 instances of WebDriver
  [21:01:19] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
  [21:01:21] E/launcher - Error code: 135
  [21:01:21] E/launcher - Error message: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:4444
  [21:01:21] E/launcher - Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:4444
  </code></pre>
  <p>Can someone please tell me why this isn't working for me?</p>