Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 1697
- python os
- c3 축 없애기
- InfluxDB
- c3 second
- snmp
- influxdb 설치
- 정규식 활용
- gcc regex
- selinux port 등록
- python popen
- python subprocess
- grafana dashboard
- linux시간으로 변경
- 정규식 문자열 출력
- gcc 업데이트
- c3 초
- c3 step graph
- telegraf
- semanage
- 정규식 컴파일
- regex_search
- g++ 업데이트
- c3 축 가리기
- subporcess path
- 백준
- snmp test
- c++ 정규식
- CentOS7
- centos pyhon 설치
Archives
- Today
- Total
리셋 되지 말자
프로토콜 tcp 포트 제외 범위 본문
netsh interface ipv4 show excludedportrange protocol=tcp
cmd나 window termianl(powershell)에 이렇게 입력하면
프로토콜 tcp 포트 제외 범위
시작 포트 끝 포트
---------- --------
2869 2869
5620 6711
50000 50059 *
* - 관리 포트 제외입니다.
이렇게 뜨는데, 5627포트 (rabbitmq)를 사용해야 해서 포트 할당이 안된다.
$ docker run -d -p 5672:5672 --name rabbit ra
bbitmq
c85b0721aa563365340323458afdf6df8617d9c7e4fed48eb3f27d11d8c52664
docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:5672: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
이렇게 오류가 뜬다. 이걸 해결하려면 cmd나 powershell을 관리자권한으로 실행해서
net stop winnat
이 명령어를 수행한다.
superuser.com/questions/1579346/many-excludedportranges-how-to-delete-hyper-v-is-disabled
Many excludedportranges how to delete - hyper-v is disabled
Since the Windows update 2004 I am fighting with many programs and tools that can't bind to certain ports. A bit research I stumbled across: netsh interface ipv4 show excludedportrange protocol=tc...
superuser.com
성공!! wsl2가 만져줘야할 부분이 많아서 그렇지 편하긴 하다.... ㅠ_ㅠ
'잡지식' 카테고리의 다른 글
docker desktop Ports are not available (0) | 2024.02.01 |
---|---|
Devops (0) | 2020.05.26 |
Comments