# TCP Port Problem

**URL:** <https://community.creditcoin.org/t/tcp-port-problem/138>\
**Category:** Mining\
**Created:** [December 17, 2020, 6:24am UTC](https://community.creditcoin.org/t/tcp-port-problem/138 "2020-12-17T06:24:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eLife](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@eLife](https://community.creditcoin.org/u/eLife)\
**Post date:** [December 17, 2020, 6:24am UTC](https://community.creditcoin.org/t/tcp-port-problem/138/1 "2020-12-17T06:24:36Z")

</div>

```
ERROR: for creditcoin-gateway Cannot start service gateway: Ports are not available: listen tcp 0.0.0.0:55555: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: for gateway Cannot start service gateway: Ports are not available: listen tcp 0.0.0.0:55555: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: Encountered errors while bringing up the project.

```

One of my computer(Window 10) encountered this error. The system didn’t use 55555 port. Another computer is working without this error. Both are in same network and processor.

Can anyone help me?

---

<div class="post-metadata">

**Author:** ![sword](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sword](https://community.creditcoin.org/u/sword)\
**Post date:** [December 30, 2020, 11:06pm UTC](https://community.creditcoin.org/t/tcp-port-problem/138/2 "2020-12-30T23:06:42Z")

</div>

Did you set your windows 10 defender firewall? Maybe adding a allow rule will be a solution.  
Refer to [크레딧코인(CTC) 채굴 매뉴얼 ver 1.0 - [2] 방화벽, 포트포워딩, 채굴 관련 파일 설정 후 스냅샷 적용, 채굴, 서버, 클라이언트 파일 구동하기 — Steemit](https://steemit.com/kr/@maa/ver-1-0-2) , “방화벽에서 포트 여는 방법” section.  
Should you accustom to English, refer to the following doc.  
[Best practices for configuring Windows Defender Firewall - Windows security | Microsoft Docs](https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-firewall/best-practices-configuring)  
Anyway, are all your PCs under same wifi router? How did you port-forward them?

---

<div class="post-metadata">

**Author:** ![hothead](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/hothead/32/106_2.png) [@hothead](https://community.creditcoin.org/u/hothead)\
**Post date:** [January 2, 2021, 4:24pm UTC](https://community.creditcoin.org/t/tcp-port-problem/138/3 "2021-01-02T16:24:18Z")

</div>

Modify Server/docker-compose.yaml \> port of gateway (55555 -\> 55554)

```
./ccprocessorLinux.out tcp://validator:4004 tcp://gateway:55554 http://rest-api:8008'

 image: gluwa/creditcoin-gateway:latest
 container_name: creditcoin-gateway
 expose:
  - 55554
 ports:
  - 55554:55554
```

---

<div class="post-metadata">

**Author:** ![eLife](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@eLife](https://community.creditcoin.org/u/eLife)\
**Post date:** [January 12, 2021, 1:04am UTC](https://community.creditcoin.org/t/tcp-port-problem/138/4 "2021-01-12T01:04:41Z")

</div>

Thank you everyone.  
The error disappeared after reboot. 🙂
