Note to self: PlayFramework disable IPv6

5 Apr
2017

build.sbt:

javaOptions in Universal ++= Seq( // docker
....
  "-Djava.net.preferIPv4Stack=true"
)
javaOptions in run += "-Djava.net.preferIPv4Stack=true" // dev mode

additionally:

sbt -J-Djava.net.preferIPv4Stack=true

Comment Form

top