core icon indicating copy to clipboard operation
core copied to clipboard

[BUG] 1317 port api

Open park1847 opened this issue 2 years ago • 5 comments

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?

park1847 avatar Sep 26 '23 08:09 park1847

Hello. Is the API enabled in .terra/config/app.toml?

fragwuerdig avatar Oct 16 '23 09:10 fragwuerdig

안녕하세요. 에서 API가 활성화되어 있나요 .terra/config/app.toml?

Yes, this is a server I have been using for a long time. API is activated.

image

park1847 avatar Oct 16 '23 10:10 park1847

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

fragwuerdig avatar Oct 16 '23 10:10 fragwuerdig

노드 상태 엔드포인트를 호출할 때 컬 프로그램의 출력을 게시하세요.

curl "http://localhost:1317/cosmos/base/tendermint/v1beta1/node_info"

또한 출력을 게시하십시오.netstat -tlpn

image

park1847 avatar Oct 17 '23 00:10 park1847

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

nghuyenthevinh2000 avatar Dec 05 '23 03:12 nghuyenthevinh2000