Ah, actually I wanted to reply here, seem to be the same posts.
IP adress issue with Icinga Director - #4 by dnsmichi
Keep in mind that changing the port to something is non-standard and others likely won’t be able to help you in this regard. Everyone expects that port 5665 is used for Icinga distributed environments.