Estimated Reading Time: 1 minutes|Last Updated: 11/3/2021, 10:50:40 AM

# Modify Port

# usage

Usage: oredge port modify [id] [OPTIONS]

OPTIONS:
    --id integer                       id.
    --port-start integer               port start.
    --port-end integer                 port end.
    --type string                      http, https, tcp, tls, httpdns, http_proxy, socks5_proxy.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. modify port.
# oredge port modify 5 --port-start 8009 --port-end 8010 --type http
OK