~ read.

Solution for "Scala compile server java.net.BindException: Address already in use" error

Recently i faced with this "Address already in use " error while studying scala and decided to make a note here for a solution that i've found. It worked for me, so someone else could also use it.
Here is a manual solution of a such situation (instruction for Linux\Max users ) :

  • find the process (PID) listening on port 3200 :
    • (check it in settings>scala>tcp port)
    • lsof -i :3200
  • check that process: ps axu |grep <PID>
  • in my case it ended up with org.jetbrains.plugins.scala.nailgun.NailgunRunner 3200
  • kill the process, it is some old one and IDEA will start the new one : kill -9 <PID>
comments powered by Disqus
comments powered by Disqus