<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article How To Check Open Ports Using PowerShell in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Check-Open-Ports-Using-PowerShell/ta-p/1714308</link>
    <description>&lt;P&gt;There are quick ways to determine if a port is listening on a particular server using PowerShell instead of requiring the telnet client feature to be installed or relying on third-party tools.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, Qlik Sense Enterprise on Windows comes shipped with Qlik Sense Utility,&amp;nbsp;which includes a&amp;nbsp;&lt;I&gt;Port Checker.&amp;nbsp;&lt;/I&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-Utility-Functions-and-Features/ta-p/1711747" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/Qlik-Sense-Utility-Functions-and-Features"&gt;Qlik Sense Utility - Functions and Features&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;For more information about required ports for Sense and QlikView:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Ports.htm" target="_blank" rel="nofollow noopener noreferrer" data-cke-saved-href="https://help.qlik.com/en-US/sense/February2018/Subsystems/PlanningQlikSenseDeployments/Content/Deployment/Ports.htm"&gt;Qlik Sense Enterprise - Port Overview&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Firewall-TCP-and-UDP-ports-used-by-QlikView/ta-p/1710471" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/Firewall-TCP-and-UDP-ports-used-by-QlikView"&gt;Firewall TCP and UDP ports used by QlikView&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Using a Test-PortConnection function (Windows Server 2012 and later)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Before you can carry out this step:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open &lt;STRONG&gt;PowerShell&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Copy&lt;/STRONG&gt; the content of the attached &lt;FONT face="courier new,courier"&gt;test_portconnection.txt&amp;nbsp;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Paste&lt;/STRONG&gt; into PowerShell&lt;/LI&gt;
&lt;LI&gt;Hit &lt;STRONG&gt;return&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After this, you can use the following:&amp;nbsp;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;Test-NetConnection -ComputerName hostname -Port 4747
&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Example Qlik Sense Enterprise on Windows:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;Test-PortConnection -Destination localhost -Ports 80,443,4239,4241,4242,4243,4244,4248,4432,4444,4555,4570,4747,4748,4899,4900,4949,5050,5151,5252,9200&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Example Qlik NPrinting:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;Test-PortConnection -Destination localhost -Ports 443,4242,4243,4730,4747,4799,4992,4993,4994,4995,4996,4997,5672,15672&lt;/PRE&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H3&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-Utility-Functions-and-Features/ta-p/1711747" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/Qlik-Sense-Utility-Functions-and-Features"&gt;Qlik Sense Utility - Functions and Features&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-check-which-program-is-using-a-specific-port/ta-p/1713742" target="_self"&gt;How to check which program is using a specific port&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 18 Feb 2026 09:11:05 GMT</pubDate>
    <dc:creator>Mario_Petre</dc:creator>
    <dc:date>2026-02-18T09:11:05Z</dc:date>
    <item>
      <title>How To Check Open Ports Using PowerShell</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Check-Open-Ports-Using-PowerShell/ta-p/1714308</link>
      <description>&lt;P&gt;There are quick ways to determine if a port is listening on a particular server using PowerShell instead of requiring the telnet client feature to be installed or relying on third-party tools.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, Qlik Sense Enterprise on Windows comes shipped with Qlik Sense Utility,&amp;nbsp;which includes a&amp;nbsp;&lt;I&gt;Port Checker.&amp;nbsp;&lt;/I&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-Utility-Functions-and-Features/ta-p/1711747" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/Qlik-Sense-Utility-Functions-and-Features"&gt;Qlik Sense Utility - Functions and Features&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;For more information about required ports for Sense and QlikView:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Ports.htm" target="_blank" rel="nofollow noopener noreferrer" data-cke-saved-href="https://help.qlik.com/en-US/sense/February2018/Subsystems/PlanningQlikSenseDeployments/Content/Deployment/Ports.htm"&gt;Qlik Sense Enterprise - Port Overview&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Firewall-TCP-and-UDP-ports-used-by-QlikView/ta-p/1710471" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/Firewall-TCP-and-UDP-ports-used-by-QlikView"&gt;Firewall TCP and UDP ports used by QlikView&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Using a Test-PortConnection function (Windows Server 2012 and later)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Before you can carry out this step:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open &lt;STRONG&gt;PowerShell&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Copy&lt;/STRONG&gt; the content of the attached &lt;FONT face="courier new,courier"&gt;test_portconnection.txt&amp;nbsp;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Paste&lt;/STRONG&gt; into PowerShell&lt;/LI&gt;
&lt;LI&gt;Hit &lt;STRONG&gt;return&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After this, you can use the following:&amp;nbsp;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;Test-NetConnection -ComputerName hostname -Port 4747
&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Example Qlik Sense Enterprise on Windows:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;Test-PortConnection -Destination localhost -Ports 80,443,4239,4241,4242,4243,4244,4248,4432,4444,4555,4570,4747,4748,4899,4900,4949,5050,5151,5252,9200&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Example Qlik NPrinting:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;Test-PortConnection -Destination localhost -Ports 443,4242,4243,4730,4747,4799,4992,4993,4994,4995,4996,4997,5672,15672&lt;/PRE&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H3&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-Utility-Functions-and-Features/ta-p/1711747" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/Qlik-Sense-Utility-Functions-and-Features"&gt;Qlik Sense Utility - Functions and Features&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-check-which-program-is-using-a-specific-port/ta-p/1713742" target="_self"&gt;How to check which program is using a specific port&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 18 Feb 2026 09:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Check-Open-Ports-Using-PowerShell/ta-p/1714308</guid>
      <dc:creator>Mario_Petre</dc:creator>
      <dc:date>2026-02-18T09:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: How To Check Open Ports Using PowerShell</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Check-Open-Ports-Using-PowerShell/tac-p/1892004#M5540</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can I just check the logic in the attached powershell script? It returns success or fail depending on the results of PingSucceeded.&amp;nbsp; If I run it on these two ports I get:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;PS C:\Windows\system32&amp;gt; Test-PortConnection -Destination localhost -Ports 4241,4242&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;WARNING: TCP connect to localhost:4241 failed&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;Destination Port 4241 Port 4242&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;----------- --------- ---------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;localhost Success Failure&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;But should the results not be the other way around? I.e. port 4242 is accepting TCP traffic, but port 4241 is not accepting TCP traffic (however, the server is up and is responding to an generic ping)?&lt;/P&gt;
&lt;P&gt;Results from Test-NetConnection:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;PS C:\Windows\system32&amp;gt; Test-NetConnection -Port 4242 -ComputerName localhost -InformationLevel Detailed&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;ComputerName : localhost&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;RemoteAddress : 127.0.0.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;RemotePort : 4242&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;NameResolutionResults : 127.0.0.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;::1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;MatchingIPsecRules : &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;NetworkIsolationContext : Loopback&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;InterfaceAlias : Loopback Pseudo-Interface 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;SourceAddress : 127.0.0.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;NetRoute (NextHop) : 0.0.0.0&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;TcpTestSucceeded : True&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;PS C:\Windows\system32&amp;gt; Test-NetConnection -Port 4241 -ComputerName localhost -InformationLevel Detailed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;WARNING: TCP connect to localhost:4241 failed&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;ComputerName : localhost&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;RemoteAddress : 127.0.0.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;RemotePort : 4241&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;NameResolutionResults : 127.0.0.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;::1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;MatchingIPsecRules : &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;NetworkIsolationContext : Loopback&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;InterfaceAlias : Loopback Pseudo-Interface 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;SourceAddress : 127.0.0.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;NetRoute (NextHop) : 0.0.0.0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;PingSucceeded : True&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;PingReplyDetails (RTT) : 0 ms&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;TcpTestSucceeded : False&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Azam&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 15:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Check-Open-Ports-Using-PowerShell/tac-p/1892004#M5540</guid>
      <dc:creator>a_mullick</dc:creator>
      <dc:date>2022-02-11T15:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: How To Check Open Ports Using PowerShell</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Check-Open-Ports-Using-PowerShell/tac-p/1892561#M5555</link>
      <description>&lt;P&gt;Dear Mario,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the useful post. In case you use a system in which running Powershell scripts is disabled / restricted, then you may use&amp;nbsp;PortQry&amp;nbsp; provided by Microsoft (&lt;STRONG&gt;URL&lt;/STRONG&gt;: &lt;A href="https://www.microsoft.com/en-us/download/details.aspx?id=17148)" target="_blank"&gt;https://www.microsoft.com/en-us/download/details.aspx?id=17148)&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Ilias&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 13:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Check-Open-Ports-Using-PowerShell/tac-p/1892561#M5555</guid>
      <dc:creator>ifytra</dc:creator>
      <dc:date>2022-02-14T13:56:11Z</dc:date>
    </item>
  </channel>
</rss>

