Prefer IPv4 address when attempting to connect to the embedded server.