https://rancher.com/ logo
Title
s

shy-musician-14644

12/05/2022, 8:12 PM
Hi guys, I followed the guide https://docs.rancherdesktop.io/how-to-guides/setup-NGINX-Ingress-Controller/ and tried to change port 8080 to 80 so that http://demo.localdev.me/ is accessible, however that does not work, any idea what needs to be done additionally?
k

kind-iron-72902

12/06/2022, 6:18 PM
I could use some more information -- which OS, which version of Rancher Desktop?
s

shy-musician-14644

12/07/2022, 10:31 AM
Rancher Desktop v. 1.6.2 Kubernetes v. 1.25.4 stable, latest Windows 10 21H2
Using dockerd as container engine
k

kind-iron-72902

12/07/2022, 10:22 PM
I'm not sure what you mean by changing port 8080 to 80. When I try to modify the port-forward command, I get this error, as expected:
$ kubectl port-forward --namespace=ingress-nginx service/ingress-nginx-controller 80:80

Unable to listen on port 80: Listeners failed to create with the following errors: [unable to create listener: Error listen tcp4 127.0.0.1:80: bind: permission denied unable to create listener: Error listen tcp6 [::1]:80: bind: permission denied]
error: unable to listen on any of the requested ports: [{80 80}]
But otherwise everything was working fine
s

shy-musician-14644

12/08/2022, 1:43 PM
@kind-iron-72902, what I am looking for is for external ip to be localhost when I run
kubectl get services
Right now it looks like 172.30.5.198 for example.
k

kind-iron-72902

12/08/2022, 6:03 PM
This might be a better question for the #k3s channel, or even a general kubernetes group -- I don't see how it's a Rancher Desktop issue (but then I'm not a k8s expert)
w

witty-honey-18052

12/14/2022, 1:13 PM
80/443 support broke on 1.6 for a number of folks using WSL. Here's an issue for it: https://github.com/rancher-sandbox/rancher-desktop/issues/3348 (came here this morning hoping for any insight or an update)