Hi Im trying to do events pact with pactNet when I...
# pact-net
s
Hi Im trying to do events pact with pactNet when I run on mac no issues its working but when I try to run the same code on windows its giving error with some HTTPListener exception but when i check for the port where the server is started there are no process running on it. can someone let me know whats going wrong
Copy code
System.Net.HttpListenerException: The process cannot access the file because it is being used by another process.

System.Net.HttpListenerException
The process cannot access the file because it is being used by another process.
   at System.Net.HttpListener.AddPrefixCore(String registeredPrefix)
   at System.Net.HttpListener.AddAllPrefixes()
   at System.Net.HttpListener.Start()
   at PactNet.Verifier.Messaging.MessagingProvider.Start(JsonSerializerSettings settings)
   at PactNet.Verifier.PactVerifier.MessagingProvider(String providerName, JsonSerializerSettings settings)
   at Provider.Tests.StockEventGeneratorTests.EnsureEventApiHonoursPactWithConsumer() in C:\Users\sasye\Downloads\pactnetevents\Provider.Tests\StockEventGeneratorTests.cs:line 52
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)



Starting messaging provider at <http://localhost:49152/pact-messages/>