Skip to content

Commit

Permalink
499 Add note about ipv6 addresses in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed Sep 20, 2022
1 parent b0ebec9 commit 7d04783
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions docs/docs/getting-started/demo/without-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ Note, should you want to use `cabal`, pass the invocation for example like this

Then, in 3 different terminals, start 3 Hydra nodes from the `demo/` directory:

:::info Note
We are trying to force ipv4 addresses by using `--peer 127.0.0.1`.
If you don's see any connected peers in the tui it probably means that your system is configured to use ipv6.
:::

````mdx-code-block
<Tabs>
Expand All @@ -79,8 +84,8 @@ Then, in 3 different terminals, start 3 Hydra nodes from the `demo/` directory:
```
source .env && hydra-node \
--node-id 1 --port 5001 --api-port 4001 --monitoring-port 6001 \
--peer localhost:5002 \
--peer localhost:5003 \
--peer 127.0.0.1:5002 \
--peer 127.0.0.1:5003 \
--hydra-signing-key alice.sk \
--hydra-verification-key bob.vk \
--hydra-verification-key carol.vk \
Expand All @@ -103,8 +108,8 @@ source .env && hydra-node \
```
source .env && hydra-node \
--node-id 2 --port 5002 --api-port 4002 --monitoring-port 6002 \
--peer localhost:5001 \
--peer localhost:5003 \
--peer 127.0.0.1:5001 \
--peer 127.0.0.1:5003 \
--hydra-signing-key bob.sk \
--hydra-verification-key alice.vk \
--hydra-verification-key carol.vk \
Expand All @@ -127,8 +132,8 @@ source .env && hydra-node \
```
source .env && hydra-node \
--node-id 3 --port 5003 --api-port 4003 --monitoring-port 6003 \
--peer localhost:5001 \
--peer localhost:5002 \
--peer 127.0.0.1:5001 \
--peer 127.0.0.1:5002 \
--hydra-signing-key carol.sk \
--hydra-verification-key alice.vk \
--hydra-verification-key bob.vk \
Expand Down

0 comments on commit 7d04783

Please sign in to comment.