Using rancher Desktop: How to access a Kubernetes Service(node port) running in a container from the local laptop #2196
Replies: 2 comments
-
One way you can access the services running in Kubernetes is by exposing the service to the host machine via a port. You can use Rancher Desktop's Port Forwarding tab to do this.. Click on I hope this helps. |
Beta Was this translation helpful? Give feedback.
-
This has been duplicated in #2197. I already replied there:
|
Beta Was this translation helpful? Give feedback.
-
i have a container running mongodb in a kubernetes container:
So the node port of the mongo service is: 32040.
I have found the local ip of the kubernetes node:
so the internal ip is: 192.168.5.15
but when i try to connect to 192.168.5.15 on port 32040 i get
connection timed out
.could i have a hint on how to do this with Rancher Desktop ?
thank you,
Andrei
Beta Was this translation helpful? Give feedback.
All reactions