AppVeyor: Reset dynamic port range to Windows default (#1368)

- Prevents conflicts between ANCM random ports and Windows dynamic ports
- Addresses #1269
This commit is contained in:
Mike Harder 2018-09-05 16:47:11 -07:00 committed by GitHub
parent 2f4172e7e7
commit 58df4ef34d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,10 @@
init:
# Reset dynamic port range from AppVeyor setting (1025-65535) to Windows default (49152-65535),
# to prevent conflicts with ANCM random ports (1025-48000).
- netsh int ipv4 show dynamicport tcp
- netsh int ipv4 set dynamic tcp start=49152 num=16384
- netsh int ipv4 show dynamicport tcp
- git config --global core.autocrlf true
branches:
only:

View File

@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{04B1EDB6-E96
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0EF45656-B25D-40D8-959C-726EAF185E60}"
ProjectSection(SolutionItems) = preProject
.appveyor.yml = .appveyor.yml
.editorconfig = .editorconfig
Directory.Build.props = Directory.Build.props
Directory.Build.targets = Directory.Build.targets