Is it possible to specify the port/port range used by eventing?
We've just rebuilt a server that had failed, that eventing worked on through the firewall, but now doesn't, so I'm thinking in this direction; but it might be something else in the config, it was using eventing.
Hi Phil,
It's not possible to specify the port range to be used for eventing.
This is a limitation of the .net framework.
When using eventing, a random port is opened on the client machine to accept those events. Limiting to a range of ports would even need to be done on every client if that was possible... In case of firewall issues, the best solution is to configure the DMA to use polling by default for all clients connecting, this can be done in the connectionsettings.txt file.
Additional information about the dynamic port range selected by the OS:
https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/service-overview-and-network-port-requirements