Skip to content

Commit 62c3a79

Browse files
committed
doc: updated stale statements
1 parent 3214f55 commit 62c3a79

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,6 @@ This command supports different protocols (HTTP, HTTPS, TCP, UDP) and automatica
420420

421421
* **--local** – address of the service **on the machine where you run the command** (or another CLIENT/SERVER node from the wireport-managed WireGuard network)
422422
* **--public** – External protocol / hostname / port that will be reachable on the GATEWAY
423-
424-
If a service is supposed to be exposed using the public IP of the gateway node (e.g., to be available on `140.120.110.10`), don't specify the public IP itself in **--public** argument, but use `0.0.0.0` instead (e.g., **tcp://0.0.0.0:32420**)
425423
</details>
426424

427425
---

app/cmd/server/commands/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var PublishServiceCmd = &cobra.Command{
3737
Example:
3838
3939
wireport service publish --local http://10.0.0.2:4000 --public https://demo.server.com:443
40-
wireport service publish --local tcp://10.0.0.2:4000 --public tcp://0.0.0.0:443`,
40+
wireport service publish --local tcp://10.0.0.2:4000 --public tcp://140.120.10.10:32420`,
4141
Run: func(cmd *cobra.Command, _ []string) {
4242
localProtocol, localHost, localPort, err := utils.ParseAddress(local)
4343

0 commit comments

Comments
 (0)