iectl ied dev port-forward¶
Enable developer mode in IED, and port forwarding from advance view. Also container must be connected to proxy-redirect network to use port-forwarding
Options¶
--app-id string app Id of the application whose container is to be port forwarded
--container-id string Id of the container required for port forward
--local-port int local port on which port forwarding will work. Range of local port is between 1 to 65535
--remote-port int private port of service running in docker container
-h, --help help for port-forward
Options inherited from parent commands¶
-o, --output string output format
-q, --query string query on result of object
-v, --verbose verbose output
Example¶
iectl ied dev port-forward --app-id "64a28e0835b9446fba7b729eac0f1066" --container-id "e0835b9446fba7b729zxdw34" --local-port 9000 --remote-port 80
SEE ALSO¶
- iectl ied dev app containers list - ied dev app containers list command
- iectl ied dev app details - ied dev app details command
- iectl ied dev app list - ied dev app list command