port and address in both examples