关于在启动时报错10754端口被占用却找不到占用进程的解决 #1142
MeowSalty
started this conversation in
Show and tell
Replies: 1 comment
-
|
也可以把这里的端口改掉后修改一下.env 处的地址! https://github.com/qier222/YesPlayMusic/blob/master/.github/workflows/build.yaml |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
其实以前用ADB的时候也经常遇到这种情况,不过那会用环境变量修改ADB端口来勉强解决了。那时我猜测估计是QQ之类的软件偷偷占了我的端口,但这次又遇到了这个诡异的问题于是去找了一下,最后发现了这个帖子:hyper v - What is Administered port exclusions in windows 10? - Stack Overflow
于是过去一看好家伙果然是Hyper-V吃掉了我的端口(内鬼竟是我自己):
[这里有一个不存在的图片]
由于不可能总是端口被占了之后去重启一下电脑,因此需要把这个端口加入到Hyper-V的排除端口号内。
(上面的命令需要以管理员身份执行)
之后这两个端口就不会被Hyper-V占用了。
Beta Was this translation helpful? Give feedback.
All reactions