summaryrefslogtreecommitdiff
path: root/content/monerod.md
diff options
context:
space:
mode:
authorDavid Uhden Collado <149145202+daviduhden@users.noreply.github.com>2024-06-15 04:36:49 +0200
committerGitHub <noreply@github.com>2024-06-15 04:36:49 +0200
commit17c46bd8eaca267c2bd7fe42be52bb77296039f4 (patch)
treed5a56df1abc8a19487dd0130cd27801f0291be82 /content/monerod.md
parent4e1d654198605468d48f49ffbb7f1f2e4259e45d (diff)
Update monerod.md
Use different ports for the proxies to the hidden services in Tor and I2P. Otherwise it is impossible for the node to work and you will always get the error “Failed to bind IPv4 (set to required)”.
Diffstat (limited to 'content/monerod.md')
-rw-r--r--content/monerod.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/content/monerod.md b/content/monerod.md
index 5e00645..b6bcca5 100644
--- a/content/monerod.md
+++ b/content/monerod.md
@@ -122,9 +122,9 @@ Edit `/etc/tor/torrc` and add the following:
HiddenServiceDir /var/lib/tor/monerod
# For wallets connecting over RPC:
-HiddenServicePort 18081 127.0.0.1:18081
+HiddenServicePort 18081 127.0.0.1:18181
# For other nodes:
-HiddenServicePort 18083 127.0.0.1:18083
+HiddenServicePort 18083 127.0.0.1:18183
```
Now restart Tor:
@@ -145,13 +145,13 @@ Edit `tunnels.conf` (Which may be located in `/home/i2p/.i2pd/` if you followed
[monerod]
type = http
host = 127.0.0.1
-port = 18083
+port = 18283
keys = monerod.dat
[monerod-rpc]
type = http
host = 127.0.0.1
-port = 18081
+port = 18281
keys = monerod-rpc.dat
```
@@ -171,13 +171,13 @@ printf "%s.b32.i2p
Then, in `/etc/monerod.conf`, add the following:
```sh
-# I2P config
-tx-proxy=i2p,127.0.0.1:4447
-anonymous-inbound={{<hl>}}your-i2p-address-here.b32.i2p{{</hl>}}:80,127.0.0.1:18083,16 # Maximum 16 simultaneous connections
-
# Tor config
tx-proxy=tor,127.0.0.1:9050,10
-anonymous-inbound={{<hl>}}your-tor-address-here.onion{{</hl>}}:18083,127.0.0.1:18083,16
+anonymous-inbound={{<hl>}}your-tor-address-here.onion{{</hl>}}:18083,127.0.0.1:18183,16
+
+# I2P config
+tx-proxy=i2p,127.0.0.1:4447
+anonymous-inbound={{<hl>}}your-i2p-address-here.b32.i2p{{</hl>}}:80,127.0.0.1:18283,16 # Maximum 16 simultaneous connections
```
## Running the Node