Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve problems with reserved tcp ports #81

Open
yunkon-kim opened this issue Mar 21, 2022 · 0 comments
Open

Resolve problems with reserved tcp ports #81

yunkon-kim opened this issue Mar 21, 2022 · 0 comments
Labels
info Information

Comments

@yunkon-kim
Copy link
Member

yunkon-kim commented Mar 21, 2022

I enabled Hiper-V, WSL2, and Docker Desktop.

CB-Spider and CB-Tumblebug can't sometimes run due to port binding.

The cause seems to be reserved TCP ports on Windows.

Like the following result, TCP ports under 10000 were reserved.

PS C:\Windows\system32> netsh int ipv4 show excludedportrange protocol=tcp

프로토콜 tcp 포트 제외 범위

시작 포트    끝 포트
----------    --------
      5357        5357
      8233        8233
     13543       13642
     13643       13742
     13743       13842
     13843       13942
     13943       14042
     14043       14142
     14143       14242
     50000       50059     *

* - 관리 포트 제외입니다.

[Suggestion (temporary)]
It could be resolved by the below commands

  • (Option 1) To set dynamic TCP start port
    netsh int ipv4 set dynamic tcp start=49152 num=16384
    
  • (Option 2) Restart winnat
    net stop winnat
    net start winnat
    
@yunkon-kim yunkon-kim added the info Information label Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info Information
Projects
None yet
Development

No branches or pull requests

1 participant