Hello,
I’m just wondering which is the port where the Local Libra Network is exposed. It’s probably a silly question but I can’t find it.
Thanks in advance.
Hello,
I’m just wondering which is the port where the Local Libra Network is exposed. It’s probably a silly question but I can’t find it.
Thanks in advance.
My guess is: 8000
Based on:
Perhaps someone else can confirm.
Cheers
ac.testnet.libra.org:8000 is the libra-run public testnet admission control endpoint. If you’re running a local node, the public-facing admission control (AC) port is usually 30307; though, it depends on the contents of the config file you pass when running libra_node
:
cargo run -p libra_node -- --peer_id "<my-peer-id>" --config_file "/path/to/node.config.toml"
where the config file looks like:
// config/data/configs/node.config.toml
// snip
[admission_control]
address = 'localhost'
admission_control_service_port = 30307
need_to_check_mempool_before_validation = false
// snip
You can also use the docker container docker/validator/validator.Dockerfile
which similarly exposes port 30307 for AC.
Excellent! Thanks for clearing that up!