<p>In the Type dropdown menu, change HTTP to All TCP; enter 8332 as the port number; enter the IP of the computer that will be sending RPC requests under 'Source.'</p>

CC BY-SA 3.0
2015-12-14T05:03:21.577Z
Dear Nick
I've tried add port 8332. Please check the update of question.
Toshi
CC BY-SA 3.0
2015-12-14T03:16:12.623Z
2015-12-14T03:16:12.623Z
Nick ODell
<p>I'd like to access the EC2 instance that installed bitcoin mainnet node.
I've found out that I need to open the port 8332 of instance from the <a href="https://bitcoin.stackexchange.com/questions/41800/how-to-connect-bitcoind-mainnet-node-on-aws-ec2-by-using-rpcjson">question</a>, but I have not idea how to do it.</p>

<p>I tried to add port 8332 on the security group, however I cannot select 8332 port, only can select 80.</p>

<p><a href="https://i.sstatic.net/XSYcs.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/XSYcs.png" alt="enter image description here"></a></p>

<p>Could you tell me how to open the port and access bitcoin node?</p>

<p><strong>Update</strong></p>

<p>I've set port as the attached picture.
However, it returned the following error.</p>

<p><strong>Connection refused - connect(2) for 'publicIP address' port 8332</strong></p>

<p>It means that I still cannot connect the instance? or I've already connect the instance, but returned error by another reason?</p>

<p><a href="https://i.sstatic.net/molyB.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/molyB.png" alt="enter image description here"></a></p>

<bitcoind><port>
How to open the port 8332 on EC2 instance?
Toshi
# How to open the port 8332 on EC2 instance?

(Asked by: username_0 on 2015-12-14)

I'd like to access the EC2 instance that installed bitcoin mainnet node.
I've found out that I need to open the port 8332 of instance from the [question](https://bitcoin.stackexchange.com/questions/41800/how-to-connect-bitcoind-mainnet-node-on-aws-ec2-by-using-rpcjson), but I have not idea how to do it.

I tried to add port 8332 on the security group, however I cannot select 8332 port, only can select 80.

[![enter image description here](https://i.sstatic.net/XSYcs.png)](https://i.sstatic.net/XSYcs.png)

Could you tell me how to open the port and access bitcoin node?

**Update**

I've set port as the attached picture.
However, it returned the following error.

**Connection refused - connect(2) for 'publicIP address' port 8332**

It means that I still cannot connect the instance? or I've already connect the instance, but returned error by another reason?

[![enter image description here](https://i.sstatic.net/molyB.png)](https://i.sstatic.net/molyB.png)

**Tags:** bitcoind, port


---

## 1 answers

### Answer by username_1 on 2015-12-14. Score: 2 | Accepted answer

In the Type dropdown menu, change HTTP to All TCP; enter 8332 as the port number; enter the IP of the computer that will be sending RPC requests under 'Source.'

> **Comments:**
> **username_0**: Dear Nick I've tried add port 8332. Please check the update of question.  

---

