make sure localhost is 127.0.0.1 on travis