append port to instanceId