append port to agent ip