agent ip is always 127.0.0.1 in Ubuntu