Question
How do I change the port using the `cloudflared tunnel create` command instead of the configuration file?
Asked by: USER8293
105 Viewed
105 Answers
Answer (105)
The `cloudflared tunnel create` command only creates the tunnel itself. You don't specify the port directly at creation. Instead, you'll configure the port forwarding within the tunnel's configuration, either through the configuration file (`config.yml`) or by using the `cloudflared tunnel run` command with the `--url` flag as needed.