print ip and port to terminal was addded