"Use port 80 and 443 for additional incoming connections." - The Skype setting that every developer should disable. Solution to "The process cannot access the file because it is being used by another process" when running a Service Fabric hosted WebApp.
1 min read
I just flattened my machine and ran into this issue when running a Service Fabric hosted WebAPI project.
This line of code:
this.serverHandle = WebApp.Start(this.listeningAddress, appBuilder => this.startup.Configuration(appBuilder, this.config));
```text
Was throwing this exception:
```bash
Message=The process cannot access the file because it is being used by another processLuckily, I remembered that I ran into this same issue before and didn’t disable this when I rebuilt my machine. By default, Skype uses port 80 and 443. You, as a developer, should disable that. Uncheck this box under Tools—> Options –> Advanced –> Connection: “Use port 80 and 443 for additional incoming connections”.
[![]()
Jon
Share: