I have a k8s service running on my PC locally and works fine.
The Database and the services. everything works fine and are accessible via localhost on my browser and postman.
However, I want to be able to connect to it via other PC/mobile app on the same router/internet.
So, I have tried port forwarding, and I've tried mapping using
netsh interface portproxy add v4tov4 listenport=8014 listenaddress=0.0.0.0 connectport=8014 connectaddress=172.18.xx.xx
But no luck yet.
My question is that "Is this possible or am I just wasting my time?". I have spent up to 5 days on this already and I'm not sure if it is possible or not.
Please any lead or solution will be highly appreciated.
Exposing kubernetes service container running on my PC localhost via WLAN IP to enable connection from another PC with both PCs on the same router
144 views Asked by DevLayi At
1
Try listening on
127.0.0.1
, or completely remove thelistenaddress
which should make it default tolocalhost
.