Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Can't forward to port 442 #27

Open
cmoulliard opened this issue Jan 25, 2019 · 1 comment
Open

Can't forward to port 442 #27

cmoulliard opened this issue Jan 25, 2019 · 1 comment

Comments

@cmoulliard
Copy link

cmoulliard commented Jan 25, 2019

Info

Hypeorvisor : Virtualbox

Problem

The routes are well exposed but we can't forward to port 443

oc get routes --all-namespaces
NAMESPACE                  NAME                           HOST/PORT                                                                     PATH      SERVICES            PORT      TERMINATION          WILDCARD
openshift-console          console                        console-openshift-console.apps.test1.tt.testing                                         console             https     reencrypt/Redirect   None
openshift-image-registry   image-registry-default-route   image-registry-default-route-openshift-image-registry.apps.test1.tt.testing             image-registry      <all>     reencrypt            None
openshift-monitoring       alertmanager-main              alertmanager-main-openshift-monitoring.apps.test1.tt.testing                            alertmanager-main   web       reencrypt/Redirect   None
openshift-monitoring       grafana                        grafana-openshift-monitoring.apps.test1.tt.testing                                      grafana             https     reencrypt/Redirect   None
openshift-monitoring       prometheus-k8s                 prometheus-k8s-openshift-monitoring.apps.test1.tt.testing                               prometheus-k8s      web       reencrypt/Redirect   None
openshift-osin             openshift-osin                 openshift-osin-openshift-osin.apps.test1.tt.testing                                     openshift-osin      443       reencrypt/Redirect   None

oc get svc/router-default -n openshift-ingress
NAME             TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)                      AGE
router-default   LoadBalancer   172.30.65.72   <pending>     80:31717/TCP,443:31607/TCP   17d

Error

oc -n openshift-ingress port-forward svc/router-default 443
error: error upgrading connection: error dialing backend: dial tcp: lookup test1-worker-0-vqgct on 192.168.56.1:53: no such host
@rbaumgar
Copy link

rbaumgar commented Feb 7, 2019

you need to use sudo for your port-forwarding. normal user is not alowed to open a port < 1024... see readme...
and it's port 443!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants