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

Bitcoin Core JSON-RPC:port=8332: Connection Rejected: 403 Forbidden #580

Open
Smurfy303 opened this issue May 3, 2018 · 1 comment
Open

Comments

@Smurfy303
Copy link

I am using bitcoin-node-api module of nodejs for that I am running bitcored and start my server which runs fine. Syncing is also done 100%.
But now problem is,
When I am hitting API from site https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list it given me an error like ->
Bitcoin Core JSON-RPC: host=35.232.207.144 port=8332: Connection Rejected: 403 Forbidden

My sever ip address is : 35.232.207.144.

& bitcoin.conf file is as below ,

server=1 
listen=1
whitelist=127.0.0.1 
rpcport=8332
txindex=1 
addressindex=1 
timestampindex=1 
spentindex=1 
zmqpubrawtx=tcp://127.0.0.1:28332
zmqpubhashblock=tcp://127.0.0.1:28332
rpcallowip=35.232.207.144 
rpcallowip=127.0.0.1 

rpcbind=35.232.207.144
rpcuser=myuser
rpcpassword=mypass
uacomment=bitcore
Error is like in command propmpt,

bitcoin-cli --livenet --host=35.232.207.144 --rpcuser=myuser --rpcpassword=mypass getinfo
Bitcoin Core JSON-RPC: host=35.232.207.144 port=8332: Connection Rejected: 403 Forbidden

I also tried in POSTMAN but gives me same error(403).

Can anybody tell me, how to hits api from server ?

@lijianl
Copy link

lijianl commented Mar 14, 2020

mee too ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants