Local port

The probe checks accessibility of a local port.

Settings example

image

Field

Description

Protocol

Protocol of the checked port, TCP or UDP.

Port

The port to check.

Period

How often to perform the check (60 seconds by default).

Result

After the check has been done result is displayed in the Data table:

image
Field Description

success

Check result:

  • true - the port is accessible;

  • false - the port is not accessible.

listenAddress

IP address the port is bound to.

processId

ID of the process, that uses the port.

Command-line utility

This check is the counterpart of the terminal command netstat:

$netstat -anp | grep 8090 | grep LISTEN
tcp        0      0 127.0.0.1:8090          0.0.0.0:*               LISTEN      5563

Known problems and errors

Sensor error! [net.sf.oval.ConstraintViolation: must be between 1 and 65535 inclusive]

Specified Port value is out of the valid range from 1 to 65535.

Check the correctness of the data in the field Port.