Tuesday 20 January 2015

PortqryUI

PortQryUI is a wonderful little tool, that I use quite often for troubleshooting network connectivity and checking e.g. loadbalancers etc.

The tool is used for checking if the ports are listening to traffic or not. Results can be the following:
Listening (TCP or UDP) indicates a service are listening on the port.
Filtered (TCP or UDP) indicates a service might be listening on the port.
Not listening (TCP or UDP) indicates a service is not listening on the port.

The tool can also be used from command line interface, syntax for commands can be found here: http://technet.microsoft.com/en-us/library/cc779626.aspx

However checking all the Lync services by hand, using this tool, can be a little cumbersome, so I have added the following lines to the config.xml file:

  <Service Name="Lync hardware loadbalancer only">
    <Port Name="SIP TLS" Value="5061" Protocol="TCP"/>
    <Port Name="HTTPS Focus - FE" Value="444" Protocol="TCP"/>
    <Port Name="DCOM / RPC" Value="135" Protocol="TCP"/>
    <Port Name="HTTP internal" Value="80" Protocol="TCP"/>
    <Port Name="HTTP external" Value="8080" Protocol="TCP"/>
    <Port Name="HTTPS internal" Value="443" Protocol="TCP"/>
    <Port Name="HTTPS external" Value="4443" Protocol="TCP"/>
    <Port Name="SIP mediation" Value="5070" Protocol="TCP"/>
    <Port Name="SIP response group" Value="5071" Protocol="TCP"/>
    <Port Name="SIP attendant dialin" Value="5072" Protocol="TCP"/>
    <Port Name="SIP conf announcement" Value="5073" Protocol="TCP"/>
    <Port Name="SIP call park" Value="5075" Protocol="TCP"/>
    <Port Name="SIP audio test" Value="5076" Protocol="TCP"/>
    <Port Name="CAC Edge TURN" Value="5080" Protocol="TCP"/>
    <Port Name="CAC FE" Value="448" Protocol="TCP"/>
  </Service>
  <Service Name="Lync hardware loadbalancer DNS">
    <Port Name="HTTP internal" Value="80" Protocol="TCP"/>
    <Port Name="HTTP external" Value="8080" Protocol="TCP"/>
    <Port Name="HTTPS internal" Value="443" Protocol="TCP"/>
    <Port Name="HTTPS external" Value="4443" Protocol="TCP"/>
  </Service>


Then I can easily select the service I want to check and just enter the DNS name for the pool.
 


The PortQry tool can be downloaded from here: http://www.microsoft.com/en-us/download/details.aspx?id=24009

No comments:

Post a Comment