added print if ip/port is wrong