use private ip rather than hostname

this is for vagrant compatibility, and should not adversely affect aws