Listening port remote gpio

Hello.

I can not use the listening port 8888 (remote rpi) on one of my Rasperry. It is used from the apache. I have changed this to 8887.
My question: Can i change this and how change this in home assistent? Another Rasperrys worked very well on the standard port.

I hope someone can help me. Thanks