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
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 ,
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 ?