After configuring our Elastic APM server, we tried to send some OpenTelemetry data to it. Unfortunately no data seemed to arrive on the target server, so time to put on our debugging head and find out what is going wrong…
The first thing we did was to check if there was indeed an application listening on the Linux server where we installed APM server. This can be done by using a Powershell cmdlet called Test-NetworkConnection.
From our Windows jump server, we opened a Powershell terminal.
There we typed the following command:
tnc <server> –port <portnumber>
If the connection succeeds, the TcpTestSucceeded value will return true.