I am a little hesitant to change ..
here is more infor...
java -Djavax.net.ssl.keystore=/usr/local./share/certs/dev-03.p12 -Djavax.net.ssl.keyStorePassword=password -Djava.net.ssl.trustStore=/usr/local/share/certs/trust.jks -Djavax.new.ssl.trustStorePassword=password -Djava.io.tmpdir=/data/1/jenkins/tmp -Dhttps.Host=proxy.server -Dhttps.proxyPort=1234 -jar /usr/local/share/applications/slave.jar -jnlpUrl https://jenkins.server.jenkins.computer.dev-03/slave-agent.jnlp -loggingConfig /usr/local/share/applications/logging.properties
These are the parameters that I am specifying......if I use the older slave.jar mentioned above, it works and conects...if I new the newer one it does not with the error listed above.
I hope this helps.
getting can't connect to port 49187.