core
core copied to clipboard
[BUG] 1317 port api
Run node with 2.2.2 and The API command running on port 1317 is not being executed. When running the command "sudo netstat -ltup | grep terrad", port 1317 is not visible. Are there any changes?
Hello. Is the API enabled in .terra/config/app.toml?
안녕하세요. 에서 API가 활성화되어 있나요
.terra/config/app.toml?
Yes, this is a server I have been using for a long time. API is activated.
Please, post the output of the curl program when calling to the node status endpoint.
curl "http://localhost:1317/cosmos/base/tendermint/v1beta1/node_info"
Also post the output of netstat -tlpn
노드 상태 엔드포인트를 호출할 때 컬 프로그램의 출력을 게시하세요.
curl "http://localhost:1317/cosmos/base/tendermint/v1beta1/node_info"또한 출력을 게시하십시오.
netstat -tlpn
try:
sed -i '0,/enable = false/s//enable = true/' $HOME_DIR/config/app.toml
sed -i 's/swagger = false/swagger = true/' $HOME_DIR/config/app.toml