mvs-org / metaverse

The Metaverse individual chain service ETP coin and immutable data space for Hyperspace.

Home Page:https://mvs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Must I config the 'self' in Network when running a mainnet-node inside a docker container

firmianavan opened this issue · comments

I built a image successfully, but it failed when running. Because the command curl ifconfig.me in file setup_mvs_conf.sh was timeout and did not get the IP。
I find the comment but still cannot understand what does this configuration do. Could anyone explain some more about it? What if I just do not configure it in Product Environment?

# The advertised public address of this node, defaults to none.
self = 127.0.0.1:0

Any help is appreciated.

if not configed self in docker, the other nodes may not connect to you.
if it does not matter, normally in case not used as a server.
please comment the lines related to MYIP, especially the last line in setup_mvs_conf.sh,
or modify ${MYIP} in ${MYIP}:5251 to your outbound IP handly.

Got it, thank you~