Owin self-host - Failed to listen on prefix 'http://localhost:12345/' because it conflicts with an existing registration on the machine

佐手、 提交于 2019-12-05 04:12:36

If it's complaining about an existing registration, it's because something else is running on that port. If it worked the first time, then it sounds like your first instance of the program is still running.

Check in Task Manager for your program name and see if it's still alive.

check the solution

1- open cmd and "netstat -aon" search for port in local address column after find check PID maybe port use by another procces

2- maybe two or more times call this line WebApplication = WebApp.Start("http://myhost.mymachine.me:12345");

3-try this

"http://myhost.mymachine.me:12345/user:everyone"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!