title: Accessing introspect endpoint , failed:connection refused kong, keycload,OIDC
body: <p>I am getting a connection refused response from the server when i try to hit the the endpoint via the proxy i have created on kong.
  The curl command i am using to hit the proxy -</p>
  <pre><code>curl --location --request GET 'http://localhost:8000/listProducts/'
  --header 'Accept: application/json'
  --header 'Authorization: Bearer token'
  </code></pre>
  <p>to get the token I use the following curl -</p>
  <pre><code>curl --location --request POST 'http://localhost:8180/auth/realms/experimental/protocol/openid-connect/token'
  --header 'Content-Type: application/x-www-form-urlencoded'
  --data-urlencode 'username=username'
  --data-urlencode 'password=password'
  --data-urlencode 'grant_type=password'
  --data-urlencode 'client_id=myapp'
  </code></pre>
  <p>The Client protocol is open-connect and the access type is public.</p>
  <p>The config i have done in the Oidc plugin:</p>
  <pre><code>consumer:
  
  response type:
  code:
  introspection endpoint: http://{MyHostIP}:8180/auth/realms/experimental/protocol/openid-connect/token/introspect
  
  filters:
  
  bearer only: yes
  
  ssl verify: no
  
  session secret:
  
  introspection endpoint auth method:
  
  realm: experimental
  
  redirect after logout uri: /
  
  scope: openid
  
  token endpoint auth method:
  
  client_secret_post:
  
  logout path: /logout
  
  client id: kong
  
  discovery: https://{MyHostIP}:8180/auth/realms/master/.well-known/openid-configuration
  
  client secret: myClientSecret
  
  recovery page path:
  
  redirect uri path:
  </code></pre>
  <p>Thanks in advance</p>