After being asked whether it was possible to change the port on which the Lync 2013 edge role listens for XMPP traffic, I spent some time searching the intertubes for answers, all to no avail. Then I got sidetracked and forgot about it; meanwhile, the person who’d originally asked came back with the answer:
- Log in to a Lync front-end server using an account that has CSAdministrator permissions
- Run
Set-CsEdgeServer -Identity fqdn of edge -XMPPInternalPort portYouWant
- Restart the Lync Server XMPP Translating Gateway Proxy service.
Voila! Your Lync edge server will now use the port you specify.