Hello, everyone.
I’m trying to run peer node for harvesting in mainnet with symbol-bootstrap.
I’ve confirmed the node is listed in “Symbol node list”(https://symbolnodes.org/nodes/), so that the node seems to me to running and syncronizing in network now.
however, I can’t access the node info by localhost: 3000. I don’t know why, but port 3000 doesn’t opened in docker network anyway, and I’ve struggling this problem for 2 days. how can I open the port 3000 in docker. or in the first place, Is my understanding about peer node is incorrect ?
According to the document of symbol-bootstrap, port 3000 is utilized for REST Gateway, it’s function provided by API node. so it seems that port 3000 opening doesn’t need if I build only peer node ( in host OS layer, I opened port 3000, though).
Of course, in this state, I got an error for getting AccountKeyLink and VrfKeyLink transactions, too: FetchError: request to http://localhost:3000/node/info failed, reason: connect ECONNREFUSED 127.0.0.1:3000 Code: ECONNREFUSED.
What can I do to fix this problem?
#symbol-bootstrap healthCheck result.
Container node is running
Container node port 7900 → 7900 is open
Network is running!
#my peer node information from “symbol node list”.
IP / DNS: 160.16.147.26
Port: 7900
Supernode:
Harv :
Network: MAIN_NET
Ver: 16777216
Role: peer
Name: DF8E387
Location: Japan
Height:
Final:
E:
P:
latest update : v1.0.0.0
Last check:
#my environment.
Host: VPS in Japan
OS: Ubuntu 20.04.1 LTS
npm version: 7.6.3
node.js version: v14.16.0
docker version: 20.10.5
docker-compose version: 1.27.4
symbol-bootstrap version: 1.0.1
#my hostOS(Ubuntu) ufw status
Status: active
To Action From
55522 ALLOW Anywhere
3000 ALLOW Anywhere
7900 ALLOW Anywhere
22/tcp ALLOW Anywhere