ip/port resolving fix