<p>I have below NodePort grafana and prometheus services running in cluster:</p>
<pre><code>$kubectl get services -n monitoring                          
NAME                 TYPE       CLUSTER-IP     EXTERNAL-IP    PORT(S)          AGE
grafana              NodePort   172.2.5.6   192.168.1.2   3000:32001/TCP   25h
prometheus-service   NodePort   172.2.3.4   &lt;none&gt;         8080:30000/TCP   25h
</code></pre>
<p>I am unable to fetch metrics using below command and also unable to open grafana services <a href="http://172.2.5.6:32001" rel="nofollow noreferrer">http://172.2.5.6:32001</a> from browser.</p>
<p>curl <a href="http://172.2.3.4:30000/metrics" rel="nofollow noreferrer">http://172.2.3.4:30000/metrics</a>.</p>
<p>I can only access when i do port forwarding, is it possible to access these services without port forwarding and by using NodePort IP.</p>
<p>Does this cluster have any firewall rules which is blocking access? How to check?</p>

witty_minds
<p>A NodePort service is always accessible via the node IP + node port service.</p>
<blockquote>
<p>NodePort: Exposes the Service on each Node's IP at a static port (the
NodePort). A ClusterIP Service, to which the NodePort Service routes,
is automatically created. You'll be able to contact the NodePort
Service, from outside the cluster, by requesting NodeIP:NodePort.</p>
</blockquote>
<p>Like this: <code>http://node-ip:32001</code> and <code>http://node-ip:30000</code></p>
