Anyone know how to run node to bind to all address? I seem not to be able to rpc connect remotely, it binds to and nothing else. I set up in the config file listen address to, also tried *:8732 and i cannot connect with rpc from another host. Is this by design, or am i missing something.


If you are using a configuration file, there are two different ports : the "listen-addr" option can be used both in the "p2p" section and in the "rpc" section. You can use "" for example to listen on port 8732 on all addresses.

You can also use the command line:

tezos-node run --rpc-addr
  • Tried it in rpc section of the config file, it did not work, but i start the node with this command: tezos-node run, i assume it will use the parameter from the config file.
    – Zx1984
    Feb 4 '19 at 22:18
  • It needs to be run on the command line, the config file does not work to start it and bind on all address
    – Zx1984
    Feb 4 '19 at 22:32
  • I don't see any reason why it wouldn't use the configuration file option. We use that here. Unless you overwrite the option with an argument in a starting script.
    – lefessan
    Feb 5 '19 at 8:47
  • How can this be done running docker containers? Tried ./mainnet.sh start --rpc-addr but I'm getting tezos-node: option --rpc-addr cannot be repeated
    – edu
    Feb 7 '19 at 20:59

To listen on all interfaces, leave the IP address out completely.

tezos-node run --rpc-addr :8732
  • I will try it, and report back
    – Zx1984
    Feb 4 '19 at 22:17
  • @Zx1984 Did you get a chance to try? Feb 5 '19 at 22:32
  • Yes i did, sorry for the delay, it works, it seems the configuration file ws being overidden when specified from the command line, which should have been obvious to be honest. It's one of those Doh! moments
    – Zx1984
    Mar 19 '19 at 14:37

Maybe I am misunderstanding the problem, but wouldn't it be a solution to build up a secure SSH connection to the server an tunnel the address of the remote machine to the local host who wants to connect?

I did it this way here in order to look at the KILN config from my local Firefox.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.