<blockquote>
  <p>so, I checked my router whether the port number(48302, 44660) is opened or not but, no any port is currently open. </p>
</blockquote>

<p>They don't appear open because those ports are not always open listening for incoming connections. Rather those ports are bound to temporarily by the forwarding software which then initiates the connection to your computer. As soon as the connection to the peer closes, so will that port.</p>

<p>What you see with that is like the ports that your browser uses to connect to remote web servers. When you have your browser open, a port is opened. But if you port scan your own computer, you won't see those ports. You can see what ports are active and connected to other servers by using the <code>netstat -nap</code> command.</p>

CC BY-SA 4.0
2019-11-23T18:30:08.927Z
Thank for replying :)  I'd like to search detail about your first paragraph. can you give some keyword?
Hyunsoo
CC BY-SA 4.0
2019-11-23T18:50:58.087Z
@Hyunsoo Perhaps read up on how TCP works? Both outgoing and incoming connections use TCP ports, but for outgoing connections they're randomly selected non-open ports.
Pieter Wuille
CC BY-SA 4.0
2019-11-23T16:50:31.497Z
2019-11-23T16:50:31.497Z
Ava Chow
<p>When I type <code>bitcoin-cli getpeerinfo</code> in shell, conspicuous property of the result are <code>addr</code> and <code>addrlocal</code> <code>addrbind</code>.</p>

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

<p>14.xx is my address and others are peer's address.
<strong>I know that Bitcoin client can do port forwarding using UPnP query to my router.
so, I checked my router whether the port number(48302, 44660) is opened or not but, no any port is currently open.</strong> 
This is very strange point. my peers should cannot communicate with me without port forwarding since I'm using router. </p>

<p>Can you give information technically?</p>

<p>Sorry for my English</p>

<transactions><bitcoin-cli><peers><port>
The result of bitcoin-cli getpeerinfo command
Hyunsoo
# The result of bitcoin-cli getpeerinfo command

(Asked by: username_0 on 2019-11-23)

When I type `bitcoin-cli getpeerinfo` in shell, conspicuous property of the result are `addr` and `addrlocal` `addrbind`.

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

14.xx is my address and others are peer's address.
**I know that Bitcoin client can do port forwarding using UPnP query to my router.
so, I checked my router whether the port number(48302, 44660) is opened or not but, no any port is currently open.**
This is very strange point. my peers should cannot communicate with me without port forwarding since I'm using router.

Can you give information technically?

Sorry for my English

**Tags:** transactions, bitcoin-cli, peers, port


---

## 1 answers

### Answer by username_1 on 2019-11-23. Score: 1 | Accepted answer

> so, I checked my router whether the port number(48302, 44660) is opened or not but, no any port is currently open.

They don't appear open because those ports are not always open listening for incoming connections. Rather those ports are bound to temporarily by the forwarding software which then initiates the connection to your computer. As soon as the connection to the peer closes, so will that port.

What you see with that is like the ports that your browser uses to connect to remote web servers. When you have your browser open, a port is opened. But if you port scan your own computer, you won't see those ports. You can see what ports are active and connected to other servers by using the `netstat -nap` command.

> **Comments:**
> **username_0**: Thank for replying :)  I'd like to search detail about your first paragraph. can you give some keyword?  
> **username_2**: @username_0 Perhaps read up on how TCP works? Both outgoing and incoming connections use TCP ports, but for outgoing connections they're randomly selected non-open ports.  

---

