With this option it is possible to connect directly to the TCP agent listener port. This skips the connection to an HTTP(S) port to retrieve some metadata.
This is useful in scenarios where the controller does not expose an HTTP(S) port, for example Jenkinsfile Runner, but more commonly if you simply wish to optimize the connection slightly.
Note: In Direct Connection mode agents will not be able to reconnect to a restarted controller if a Random 'TCP port for inbound agents' is configured!
Note: Direct Connection does not work with the currently available jenkins/inbound-agent:windowsservercore-1809
image.