'kubernetes nodeport expose service error

I am exposed the service mongodb in nodePort but I cannot access that link. Connection was reset error:

$ curl http://192.168.99.102:32292
curl: (56) Recv failure: Connection was reset

$ kubectl.exe get services
NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)           AGE
kubernetes   ClusterIP   10.0.0.1     <none>        443/TCP           4d
mongodb      NodePort    10.0.0.213   <none>        27017:32292/TCP   7m


Solution 1:[1]

kubectl port-forward --address 0.0.0.0 service/mongodb 27017:27017

Solution 2:[2]

You can't connect to the port 27017 via HTTP.
Try this telnet 192.168.99.102 32292.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 cigien
Solution 2 vkozyrev