I am trying to connect to an instance of a Jenkins wizard from a subordinate. In terms of connectivity, everything looks good. I can twist the selected “TCP port for the JNLP agent”, as indicated in “Configure global security” in Jenkins, from where I run the slave node:
$ curl http://myjenkinsurl:7004/ Jenkins-Agent-Protocols: CLI-connect, CLI2-connect, JNLP-connect, JNLP2-connect, JNLP4-connect, Ping Jenkins-Version: 2.62 Jenkins-Session: 77c90621 Client: 10.0.0.2 Server: 172.0.0.2
However, when you try to start the slave node, I get this error reported on the slave node:
INFO: Locating server among [http://myjenkinsurl:7004] May 25, 2017 12:22:12 PM hudson.remoting.jnlp.Main$CuiListener error SEVERE: http://myjenkinsurl:7004/tcpSlaveAgentListener/ is invalid: 404 Not Found
I also get 404 Not Found error when twisting http: // myjenkinsurl: 7004 / tcpSlaveAgentListener /
Here's what my relevant Global Security Configuration section looks like:

I get this error since upgrading to Jenkins 2.62, and it previously worked with a similar configuration on Jenkins 2.19.
Most of the similar queries that I can find on this issue do not have a properly configured additional port, but the output that I get from Jenkins twisting on this installation port, in my case 7004, seems to indicate that this is not the case when the problem lies.
How do I get the tcpSlaveAgentListener url?