Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26324

Port forwarding failed for JBoss Tools 4.6.0.Final

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 4.9.0.AM3
    • 4.6.0.Final
    • openshift
    • JBoss Tools 4.6.0.Final

      $ oc version
      oc v3.11.0-0.24.0
      kubernetes v1.11.0+d4cacc0
      features: Basic-Auth GSSAPI Kerberos SPNEGO

      Port forwarding failed for JBoss Tools 4.6.0.Final

      error is in the followings, the failed reason is flag "-p" is deprecated
      An internal error occurred during: "Starting port forwarding...".
      OpenShiftBinaryCapability process exited: Error: unknown shorthand flag: 'p' in -p

      Usage:
      oc port-forward TYPE/NAME [LOCAL_PORT:]REMOTE_PORT [...[LOCAL_PORT_N:]REMOTE_PORT_N] [flags]

      Examples:

      1. Listens on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in the pod
        oc port-forward mypod 5000 6000
      1. Listens on port 8888 locally, forwarding to 5000 in the pod
        oc port-forward mypod 8888:5000
      1. Listens on a random port locally, forwarding to 5000 in the pod
        oc port-forward mypod :5000
      1. Listens on a random port locally, forwarding to 5000 in the pod
        oc port-forward mypod 0:5000

      Options:
      --pod-running-timeout=1m0s: The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running

      Use "oc options" for a list of global command-line options (applies to all commands).

              adietish@redhat.com André Dietisheim
              juzhao@redhat.com Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: