added print if ip/port wrong