= TCP Service Detector
:description: Learn how the TCPDetector in OpenNMS {page-component-title} lets you find TCP-based services for monitoring in your network.

The TCPDetector lets you find TCP-based services for monitoring in your network.

== Detector facts

[options="autowidth"]
|===
| Implementation | `org.opennms.netmgt.provision.detector.simple.TcpDetector`
|===

== Configuration and use

.Optional parameters for the TCPDetector
[options="header, autowidth"]
[cols="1,3,1"]
|===
| Parameter
| Description
| Default value

| port
| Port to query.
| 23

| banner
| RegEx expression to match.
| .*
|===

== Example configuration

[source,xml]
----
<detector name="MS-RDP" class="org.opennms.netmgt.provision.detector.simple.TcpDetector">
  <parameter key="port" value="3389"/>
</detector>
----