exchain icon indicating copy to clipboard operation
exchain copied to clipboard

Cannot connect to own full node RPC

Open LtSnakePlissken opened this issue 3 years ago • 3 comments

Summary of Bug

1. Describe

I cannot get my Metamask to connect to my full okex node. It is fully synced. I have tried 1000 different combinations of addresses but cannot connect to the rpc.

./exchaind start --chain-id exchain-66 --mempool.sort_tx_by_gp --p2p.seeds $EXCHAIN_SEEDS

I am using this command, and have tried a ton of combinations for laddr in config.toml. Is there some sort of command I can run to make it brodcast so I can connect to http://localhost:26656 address on the local machine?

2. Impact

Cannot connect to the rpc

3. Recover

N/A

Expected Result

That I can connect to the rpc

Version

Latest

Steps to Reproduce

running ./exchaind start --chain-id exchain-66 --mempool.sort_tx_by_gp --p2p.seeds $EXCHAIN_SEEDS

For Admin Use

  • [ ] Not duplicate issue
  • [ ] Appropriate labels applied
  • [ ] Appropriate contributors tagged
  • [ ] Contributor assigned/self-assigned

LtSnakePlissken avatar Oct 31 '21 17:10 LtSnakePlissken

connect to http://localhost:26659

xiangjianmeng avatar Jan 10 '22 11:01 xiangjianmeng

Your documentation is misleading, the RPC port is 26659

danny-adu avatar Jun 25 '23 19:06 danny-adu

Your documentation is misleading, the RPC port is 26659

Hi @danny-dudu, After reviewing the documentation, I noticed a potential issue with the RPC URL's port number that could lead to confusion after joining the mainnet. I want to clarify: Does the port number in the RPC URL mislead you?

giskook avatar Jun 25 '23 21:06 giskook