added print for address and port