prefer ipv4, this fixes vagrantbox under oracle java.