Port used for HAP services.

Hi, I have a question about the port used for HAP services. Can you provide me with the details of port HomeKit services or any recourses I can refer. Thank you in advanced.

Posted on Jun 22, 2023 7:14 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 22, 2023 8:55 PM

I’d expect you’ll want to use mDNS queries on UDP 5353 to poke around. (BonJeff app or ilk is handy here.)


The usual references are to the following ports: UDP 5353 (mDNS), TCP 51826, and TCP 51827


But I suspect those latter two ports are not necessarily fixed, and that asking mDNS is the intended path.


Related:


https://whitematter.tech/posts/how-to-add-vlan-segmentation-for-homekit-iot-devices-with-unifi/


https://www.reddit.com/r/linuxquestions/comments/gpunrb/comment/frsv1sg/


About Bonjour


I don’t know if Matter changes this.


That mDNS is the only fixed port is why the other ports aren’t included in the Apple list of well-known ports, too.


1 reply
Question marked as Top-ranking reply

Jun 22, 2023 8:55 PM in response to anuarrozman

I’d expect you’ll want to use mDNS queries on UDP 5353 to poke around. (BonJeff app or ilk is handy here.)


The usual references are to the following ports: UDP 5353 (mDNS), TCP 51826, and TCP 51827


But I suspect those latter two ports are not necessarily fixed, and that asking mDNS is the intended path.


Related:


https://whitematter.tech/posts/how-to-add-vlan-segmentation-for-homekit-iot-devices-with-unifi/


https://www.reddit.com/r/linuxquestions/comments/gpunrb/comment/frsv1sg/


About Bonjour


I don’t know if Matter changes this.


That mDNS is the only fixed port is why the other ports aren’t included in the Apple list of well-known ports, too.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Port used for HAP services.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.