Azure-Samples/service-fabric-dotnet-getting-started

System.Net.HttpListenerException - AlphabetPartitions --> Alphabet.Web HttpCommunicationListener.cs

Closed this issue · 4 comments

iamjz commented

I'm running the solution by hitting F5 on your AlphabetPartitions solution. But I'm getting an error on HttpCommunicationListener.cs under Alphabet.Web on the follow method: OpenAsync(CancellationToken cancellationToken).

It is complaining: System.Net.HttpListenerException - {"The process cannot access the file because it is being used by another process"}.

iamjz commented

any ideas on this one?

I believe HttpListener is complaining about the http port, it may be in use by iis or other, also make sure your only running a single instance of the service on the port

Yup this just means the port is already taken.

iamjz commented

thanks!