Note to self: PlayFramework disable IPv6

5 Apr

To make sure that your Play! Application binds on an IPv4 Socket in your Docker-Container, add the following to your build.sbt file

javaOptions in Universal ++= Seq( // docker .... "" ) javaOptions in run += "" // dev mode
Code language: JavaScript (javascript)

when running locally, you can also start sbt and tell it to prefer the IPv4 Stack.

Code language: Bash (bash)

Comment Form