<p>Bitcoin core that is running inside the aws ec2 instance has rpc server hosted inside the instance which you can connect with a rpc url something like this <a href="http://127.0.0.1:18332/" rel="nofollow noreferrer">http://127.0.0.1:18332/</a> , this url will work inside the ec2 instance, but if you want to connect to the same rpc server from a different machine(like from your personal laptop), you can use ngrok (maybe) to expose localhost as https and then try to access from you machine with the new ngrok url. I have not tried this, but let me know if this works.
Or if you can somehow expose the localhost url to an https, that should help you to connect to it.</p>

CC BY-SA 4.0
2022-10-05T02:28:08.320Z
2022-10-05T02:28:08.320Z
Akshay Kapoor
<p>I'm running a Bitcoin Core Node on AWS EC2 Instance and i want to connect to this node and make transactions using Nodejs App.</p>
<p>I used the following guide to install Bitcoin Core Node on AWS:
<a href="https://medium.com/@daniel.wegmann/step-by-step-guide-to-run-bitcoin-core-node-on-aws-3761174a861a" rel="nofollow noreferrer">https://medium.com/@daniel.wegmann/step-by-step-guide-to-run-bitcoin-core-node-on-aws-3761174a861a</a></p>
<p>I used the following guide to make the transactions:
<a href="https://medium.com/@claudio_69833/how-to-create-bitcoin-transactions-with-javascript-b3b43f53ca0c" rel="nofollow noreferrer">https://medium.com/@claudio_69833/how-to-create-bitcoin-transactions-with-javascript-b3b43f53ca0c</a></p>
<p>How do I connect my Node and perform the transactions through it?</p>
<p>Thanks!</p>

CC BY-SA 4.0
2022-08-19T21:02:35.703Z
Bitcore is an entirely unrelated project from Bitcoin Core. You need a JSON-RPC library to connect to Bitcoin Core, not a separate node implementation like Bitcore.
Pieter Wuille
<bitcoin-core><bitcoind><node.js><amazon-web-services>
Connection to Bitcoin Core Full Node in Amazon EC2 using bitcore-lib
Salvador
# Connection to Bitcoin Core Full Node in Amazon EC2 using bitcore-lib

(Asked by: username_0 on 2022-08-19)

I'm running a Bitcoin Core Node on AWS EC2 Instance and i want to connect to this node and make transactions using Nodejs App.

I used the following guide to install Bitcoin Core Node on AWS:
<https://medium.com/@daniel.wegmann/step-by-step-guide-to-run-bitcoin-core-node-on-aws-3761174a861a>

I used the following guide to make the transactions:
<https://medium.com/@claudio_69833/how-to-create-bitcoin-transactions-with-javascript-b3b43f53ca0c>

How do I connect my Node and perform the transactions through it?

Thanks!

**Tags:** bitcoin-core, bitcoind, node.js, amazon-web-services

> **Comments:**
> **username_1**: Bitcore is an entirely unrelated project from Bitcoin Core. You need a JSON-RPC library to connect to Bitcoin Core, not a separate node implementation like Bitcore.  

---

## 1 answers

### Answer by username_2 on 2022-10-05. Score: 0

Bitcoin core that is running inside the aws ec2 instance has rpc server hosted inside the instance which you can connect with a rpc url something like this <http://127.0.0.1:18332/> , this url will work inside the ec2 instance, but if you want to connect to the same rpc server from a different machine(like from your personal laptop), you can use ngrok (maybe) to expose localhost as https and then try to access from you machine with the new ngrok url. I have not tried this, but let me know if this works.
Or if you can somehow expose the localhost url to an https, that should help you to connect to it.


---

