相关疑难解决方法(0)

Cannot bind to some ports due to permission denied

For the last 3 months or so I'm having random errors where I can't bind a specific port where our Identity server is running on my local development workstation. At first I thought it's my broken machine, so I reset everything, which kinda fixed the issue for 2 months and now it is back.

In the meanwhile other developers saw the same issue. All of us who experience the issue are running Windows 10, but not everyone with Windows 10 …

sockets windows port windows-10

20
推荐指数
6
解决办法
8918
查看次数

无法启动 IIS Express Web 服务器 - 无法注册 URL - 当该文件已存在时无法创建该文件 | VS 社区 2017

在 VS Community 2017 (v15.9.26) 中,我无法调试,因为 IIS Express Web 服务器产生以下错误。

IIS Express 的输出:无法为站点注册 URL“localhost:xxxxx/”。错误描述:当文件已存在时无法创建该文件。(0x800700b7)

在此输入图像描述

尝试解决问题的步骤

  1. 清理、重建、重新启动 VS、重新启动计算机
  2. 删除 IISExpress 文件夹并重新运行 VS SA Source
  3. 删除.vs文件夹并重新运行VS
  4. 创建了一个新的虚拟目录SA Source
  5. 在新目录中重新克隆存储库并从头开始
  6. 运行netsh http show urlacl显示没有其他进程使用端口
  7. 从 VS AppData 中删除了 ComponentModelCache
  8. 重新安装 VS Community 2017
  9. 实现了一个已确认工作的 applicationhost.config,并更新了对我的路径的引用,但仍然存在相同的端口问题。
  10. 重新安装 IIS 10.0 Express
  11. 关闭了防病毒软件

我应该注意到我正在运行三个启动项目。其中两个项目(具有不同的端口)运行良好,因此我可以排除防火墙或 SSL 问题。第三次启动应用程序只会产生此错误。

在尝试了所有 7 个步骤并多次让计算机休息后,我陷入了困境。任何进一步的解决方案/修复尝试将不胜感激!

iis visual-studio iis-express visual-studio-2017

7
推荐指数
1
解决办法
8660
查看次数

从.netcore应用程序运行时,GRPC Init引发“ IOException:绑定端口失败”

我有一个.net核心应用程序,它启动了grpc服务器。在今天进行Windows更新之前,我可以在本地运行它而不会出现问题。Windows应用了最新更新后,我尝试运行.net核心应用程序,但仍然出现以下错误。

System.IO.IOException:无法在Grpc.Core.Server.CheckPortsBoundSuccessfully()上绑定端口“ 127.0.0.1:50001”

我进入防火墙并打开对grpc访问有问题的端口的访问。它没有帮助。有人遇到这个问题吗?

c# grpc asp.net-core-2.0

2
推荐指数
1
解决办法
897
查看次数

Hugo 报告端口 1313 已被使用。但它不是

Hugo server我尝试像往常一样运行该命令。但它给了我这个错误。

port 1313 already in use, attempting to use an available port
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1654d87]
Run Code Online (Sandbox Code Playgroud)

我检查了端口使用情况是否使用netstat -ntlp,但在列表中没有发现任何内容。

我早些时候遇到过这个问题,当时,我只是使用 snap 包管理器卸载了hugo,然后再次重新安装。当时它起作用了。现在不行了。

我在这里缺少什么。注意:重新启动笔记本电脑也没有帮助。

port static hugo

2
推荐指数
1
解决办法
1167
查看次数