title: Connection refused! Is selenium server started?
body: <p>I am using Jenkins to run selenium nightwatch tests.</p>
  
  <p>When I run the tests, I get the following error:</p>
  
  <pre><code>Connection refused! Is selenium server started?
  </code></pre>
  
  <p>I have the following configuration in my nightwatch.json file:</p>
  
  <pre><code>"selenium": {
          "start_process": true,
          "server_path": "lib/selenium-server-standalone-2.52.0.jar",
          "log_path": "",
          "host": "127.0.0.1",
          "port": 4444,
          "cli_args": {
              "webdriver.chrome.driver": "lib/chromedriver",
              "webdriver.ie.driver": "lib/IEDriverServer_x64_2.52.2.exe",
              "trustAllSSLCertificates": true
          }
  </code></pre>
  
  <p>I'm guessing Jenkins is trying to connect to a PORT but is unable to do so. Can someone please help?</p>