I am trying to install a simple WebAPI myself:
public class AccountViewApplication { protected IDisposable WebApplication; public void Start() { WebApplication = WebApp.Start<WebPipeline>("http://myhost.mymachine.me:12345"); new AccountViewApplication().Start(); } public void Stop() { WebApplication.Dispose(); } }
The first time I run this, it starts to listen just fine, but the next time I try, I get the following:
Could not listen to the prefix ' http://myhost.mymachine.me:12345/ ' because it conflicts with existing registration on the computer
What can I do to listen every time, rather than complain about an existing reservation?
Eugene goldberg
source share