JMX endpoint sending empty response

Multi tool use
Multi tool use


JMX endpoint sending empty response



I have a Java daemon process running that is supposed to expose a number of endpoints at port 15002 on localhost, showing a variety of metrics. However, when I try to submit a curl request to localhost:15002, I get an empty response/connection refused error. On the other hand, there is a another port 10002 (exposing a different set of metrics) which is working fine.


curl



If I do netstat -na | grep 10002, I get:


netstat -na | grep 10002


tcp 0 0 0.0.0.0:10002 0.0.0.0:* LISTEN



Now, if I do the same with respect to port number 15002, I get no output, which makes me believe that this is a port issue. Is there anything that I need to be doing before I start my daemon?





What makes you think that the activity on port 10002 is related to your daemon process in any way?
– Holger
Jul 2 at 7:54









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

cJ1lgK8FATGFZJkdnEozdsi508t6UFSmmzrge57T2YOJ8EhznNW8,Nx86x LTx yu WeT05KQA2t,w6sujTZzf8PIWu
49k8fDOCy35mW Xban,ipVi U

Popular posts from this blog

Rothschild family

Cinema of Italy