SAP Knowledge Base Article - Public

3161614 - Check a port or connection to a remote host with Windows on-board tools 'PowerShell'

Symptom


It seems like a connection can't be established to the remote server. Is there an option to check on a Microsoft Windows Server with tools like 'PowerShell' the connectivity?



Resolution


You can use the 'PowerShell*' to check the connection inclusive a port with the CMD "Test". You can find a full documentation on Microsoft documentation pages https://docs.microsoft.com/en-us/powershell/module/nettcpip/test-netconnection?view=win10-ps*


powershellPowerShell CMD


powershellSuccessful Result Test-NetConnection -ComputerName "signavio.com" -Port 80 -InformationLevel "Detailed" ComputerName : signavio.com RemoteAddress : xxx.x.xx.xx RemotePort : 80 NameResolutionResults : xxx.x.xx.xx MatchingIPsecRules : NetworkIsolationContext : Internet IsAdmin : False InterfaceAlias : Ethernet SourceAddress : xxx.x.xx.xx NetRoute (NextHop) : xxx.x.xx.xx TcpTestSucceeded : True ]]>


powershellUnsuccessful result Test-NetConnection -ComputerName "signavio.com" -Port 20 -InformationLevel "Detailed" WARNUNG: TCP connect to (xxx.x.xx.xx : 20) failed ]]>

*Signavio is not responsible for the content of 3rd party vendors/links.


For older Version of Power Shell (like Windows 7) you can use the following command to test the connection/port:

powershellVersion 2 or earlier



Keywords

KBA , BPI-SIG-PM-DOC , Process Documentation for SAP Signavio Process Manager , How To

Product

SAP Signavio Process Manager all versions ; Signavio Process Manager all versions