title: IntelliJ IDEA 2017.3.4 & Scala compile server : IDE can't connect to its own local server
body: <p>I'm using <strong>IntelliJ IDEA 2017.3.4</strong> as <code>Scala</code> IDE. </p>
  
  <p>I have activate the "<code>Build project automatically</code>" option and set the <code>Java 8 JDK</code> as default project SDK.
  <a href="https://i.stack.imgur.com/pgap1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pgap1.png" alt="enter image description here"></a></p>
  
  <p>Bellow, the <code>Scala compiler server</code> configuration
  <a href="https://i.stack.imgur.com/ytEdR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ytEdR.png" alt="enter image description here"></a></p>
  
  <p>The <code>Scala compiler server</code> is <strong>running</strong> and listen on port <strong>43558</strong>. I can't change this port, I think this is affected randomly by IntelliJ IDEA.</p>
  
  <p><a href="https://i.stack.imgur.com/W3Fdp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W3Fdp.png" alt="enter image description here"></a></p>
  
  <p>When I make modification of my Scala source code, the IntelliJ IDEA don't use the <code>Scala Compiler Server</code> to avoid recompile many classes on a little change. Due to this reason, compilation time is so long...</p>
  
  <p>I got the error bellow: 
  <a href="https://i.stack.imgur.com/ss7iI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ss7iI.png" alt="enter image description here"></a></p>
  
  <pre><code>Warning:scalac: Cannot connect to compile server at localhost/127.0.0.1:3200
  Trying to compile without it
  </code></pre>
  
  <p>Note: I'm running on Linux Host 64 bits (Arch Linux)</p>
  
  <p>Have you any idea about what I need to do for using <code>Scala compiler server</code>?</p>