AppCtrlScript

MAY Computer

Help

PORTCHECK

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Other

See also  

PING

Tries to connect to the specified host/computer at specified port. Usually it is used to check if a specific server application is available/running. If the connection can be established it is immediately disconnected.

Syntax

PORTCHECK <VariableName>, <Host>, <Port> 
CHECKPORT <VariableName>, <Host>, <Port>

Part

Description

<VariableName> Script variable where to store the result of the port check.
<Host> Name of the workstation to connect to. Type "localhost" if you mean the local workstation.
<Port> Port number the remote application is listening to.