-
Story
-
Resolution: Done
-
Minor
-
DO180 - OCP4.12-en-1-20230406
-
None
-
en-US (English)
URL: https://role.rhu.redhat.com/rol-rhu/app/courses/do180-4.12/pages/ch03s05
Reporter RHNID: yuvaraj-rhls
Section: pods-troubleshooting-lecture - Troubleshoot Containers and Pods
Language: en-US (English)||||||||
Workaround:
Description: Description: Under Remote Container Access in Chapter 3 Section 5, the second example should show "Forwarding from 127.0.0.1:80 -> 8080" when the command is used as shown. It appears the previous example was copied and pasted and not updated beyond reversing the ports in the command. === The following example demonstrates use of the oc port-forward RESOURCE EXTERNAL_PORT:CONTAINER_PORT command to listen locally on port 80 and to forward connections to port 8080 on the pod: ``` [user@host ~]$ oc port-forward nginx-app-cc78k 80:8080 Forwarding from 127.0.0.1:8080 -> 80 Forwarding from [::1]:8080 -> 80 ``` This should instead show this: ``` [user@host ~]$ oc port-forward nginx-app-cc78k 80:8080 Forwarding from 127.0.0.1:80 -> 8080 Forwarding from [::1]:80 -> 8080 ```