Partager via


How to: Configure the Listening Ports for SIP Peer Communication

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The listening ports are the network ports on which Speech Server expects to receive messages from SIP peers. By default, the listening ports are set to 5060 for TCP and 5061 for TLS. You can configure different ports using the Speech Server Administrator console.

If you are using Windows Firewall to reduce security risk, you need to make coordinating changes on the Exceptions tab in Windows Firewall. For example, if you change the TCP and TLS listening ports to 5070 and 5071, respectively, you must change or add port exceptions to Windows Firewall to allow network connections on the newly configured listening ports. For more information about configuring exceptions for Windows Firewall, see

Be careful not to specify ports that are used by other programs on the computer running Speech Server.

Note

After configuring the listening ports, you must restart the Speech Server service to activate the change.

Configuring the Listening Ports

To configure the listening port for SIP peer communication

  1. Open the Speech Server Administrator console.

    For more information, see How to: Start the Speech Server Administrator Console.

  2. In the console tree, expand the applicable group, and then click Servers.

  3. In the details pane, double-click the applicable server.

  4. Clear the Use default listening ports check box, and then type the port numbers in the TCP listening port and TLS listening port boxes.

  5. Click OK, and if the Speech Server service is running, click OK again to confirm the message to restart the service.

  6. To restart the service, right-click the applicable server in the details pane, and then click Restart.

    Note

    You can also configure the listening ports through Windows Management Instrumentation (WMI) scripting. For more information, see the TCPListeningPort and TLSListeningPort properties in MSS Class.