<?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>topic How do I test connectivity over a specific port in Windows? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-test-connectivity-over-a-specific-port-in-Windows/m-p/439235#M76582</link>
    <description>&lt;P&gt;My forwarder is unable to establish a connection over port 9997 to my indexer.&lt;/P&gt;

&lt;P&gt;I am running Windows, and I do not have telnet installed.&lt;/P&gt;

&lt;P&gt;I have access to powershell. Is there a connectivity test I can run in powershell to check to ensure traffic can be passed over TCP to a specific port? It would be 9997 in this case.&lt;/P&gt;

&lt;P&gt;I see the Tcpout processor has paused the flow of data as an error in the splunkd.log on the forwarder.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Oct 2018 18:21:47 GMT</pubDate>
    <dc:creator>jpondrom_splunk</dc:creator>
    <dc:date>2018-10-19T18:21:47Z</dc:date>
    <item>
      <title>How do I test connectivity over a specific port in Windows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-test-connectivity-over-a-specific-port-in-Windows/m-p/439235#M76582</link>
      <description>&lt;P&gt;My forwarder is unable to establish a connection over port 9997 to my indexer.&lt;/P&gt;

&lt;P&gt;I am running Windows, and I do not have telnet installed.&lt;/P&gt;

&lt;P&gt;I have access to powershell. Is there a connectivity test I can run in powershell to check to ensure traffic can be passed over TCP to a specific port? It would be 9997 in this case.&lt;/P&gt;

&lt;P&gt;I see the Tcpout processor has paused the flow of data as an error in the splunkd.log on the forwarder.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 18:21:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-test-connectivity-over-a-specific-port-in-Windows/m-p/439235#M76582</guid>
      <dc:creator>jpondrom_splunk</dc:creator>
      <dc:date>2018-10-19T18:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I test connectivity over a specific port in Windows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-test-connectivity-over-a-specific-port-in-Windows/m-p/439236#M76583</link>
      <description>&lt;P&gt;You can run the PowerShell equivalent command of telnet (Test-NetConnection) to test network connectivity over a certain port in windows.&lt;BR /&gt;
The command is below.&lt;BR /&gt;
Test-NetConnection -Port 9997 -ComputerName &lt;BR /&gt;
Test-NetConnection -Port 9997 -ComputerName jpondromidx&lt;/P&gt;

&lt;P&gt;Test-NetConnection - 10.1xx.xx.xxx:9997&lt;BR /&gt;
 Attempting TCP connect&lt;BR /&gt;
Waiting for response&lt;/P&gt;

&lt;P&gt;A sucess looks like the following.&lt;/P&gt;

&lt;P&gt;PS C:\Users\jpondromfwd&amp;gt; Test-NetConnection -Port 9997 -ComputerName jpondromidx&lt;/P&gt;

&lt;P&gt;ComputerName     : jpondromidx&lt;BR /&gt;
RemoteAddress    : 10.xxx.xx.xxx&lt;BR /&gt;
RemotePort       : 9997&lt;BR /&gt;
InterfaceAlias   : Wi-Fi&lt;BR /&gt;
SourceAddress    : 10.xx.xxx.xxx&lt;BR /&gt;
TcpTestSucceeded : True&lt;/P&gt;

&lt;P&gt;A failed test looks like the below.&lt;/P&gt;

&lt;P&gt;PS C:\Users\jpondrom&amp;gt; Test-NetConnection -Port 9997 -ComputerName jpondromidx2&lt;BR /&gt;
WARNING: TCP connect to (10.xxx.xx.xxx : 9997) failed&lt;BR /&gt;
ComputerName           : jpondromidx2&lt;BR /&gt;
RemoteAddress          : 10.xxx.xx.xxx&lt;BR /&gt;
RemotePort             : 9997&lt;BR /&gt;
InterfaceAlias         : Wi-Fi&lt;BR /&gt;
SourceAddress          : 10.xx.xxx.xxx&lt;BR /&gt;
PingSucceeded          : True&lt;BR /&gt;
PingReplyDetails (RTT) : 46 ms&lt;BR /&gt;
TcpTestSucceeded       : False&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 18:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-test-connectivity-over-a-specific-port-in-Windows/m-p/439236#M76583</guid>
      <dc:creator>jpondrom_splunk</dc:creator>
      <dc:date>2018-10-19T18:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I test connectivity over a specific port in Windows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-test-connectivity-over-a-specific-port-in-Windows/m-p/439237#M76584</link>
      <description>&lt;P&gt;As a former Networking guy, I hate that PS by default does not show me the actual failure reason (refused/timeout/etc), but only says it fails. Adding &lt;CODE&gt;-Debug&lt;/CODE&gt;, I've to press Enter 4 times before the call finishes.&lt;BR /&gt;
If anybody knows a workaround for that mess, please let me know!&lt;/P&gt;</description>
      <pubDate>Sat, 20 Oct 2018 17:38:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-test-connectivity-over-a-specific-port-in-Windows/m-p/439237#M76584</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-10-20T17:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I test connectivity over a specific port in Windows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-test-connectivity-over-a-specific-port-in-Windows/m-p/439238#M76585</link>
      <description>&lt;P&gt;An alternative is:&lt;BR /&gt;
    New-Object System.Net.Sockets.TcpClient &lt;HOST&gt;, &lt;PORT&gt;&lt;/PORT&gt;&lt;/HOST&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 11:05:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-test-connectivity-over-a-specific-port-in-Windows/m-p/439238#M76585</guid>
      <dc:creator>jhornsby_splunk</dc:creator>
      <dc:date>2018-10-22T11:05:50Z</dc:date>
    </item>
  </channel>
</rss>

