Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 1317 port api #361

Open
park1847 opened this issue Sep 26, 2023 · 5 comments
Open

[BUG] 1317 port api #361

park1847 opened this issue Sep 26, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@park1847
Copy link

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 park1847 added the bug Something isn't working label Sep 26, 2023
@fragwuerdig
Copy link
Collaborator

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

@park1847
Copy link
Author

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

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

image

@fragwuerdig
Copy link
Collaborator

fragwuerdig commented Oct 16, 2023

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

@park1847
Copy link
Author

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

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

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

image

@nghuyenthevinh2000
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants