PortInUseException

SO I downloaded NZBDrone off the webpage, unpacked itm and double clicked the nzbdrone.exe file. and this error saying that port 8989 was already in use, and I should see to that nzbdrone was not already started…

BUt… i have since restarted my machine… removed all random prosesses from memory… even ran tcpview to see what process was hugging it, and nothing… none…

Error startes in concole mode…

NzbDrone.Host.Owin.PortInUseException: Port 8989 is already in use, please ensur
e NzbDrone is not already running. —> System.Reflection.TargetInvocationExcept
ion: Exception has been thrown by the target of an invocation. —> System.Net.H
ttpListenerException: Failed to listen on prefix ‘http://*:8989/’ because it con
flicts with an existing registration on the machine.

Any thoughts…

Seems to be an issue when trying to register the port for drone’s use. Running it as administrator one time should resolve that. I’ll look into why its not working even via localhost.

Same error even while running as admin…

Could you delete your log files for drone, from C:\ProgramData\zbDrone\logs and then re-run NzbDrone.exe as admin and then post the log on pastebin?

It may also be worthwhile to reboot and then run drone as admin, just to make sure.

that actully worked… I deleted the entire NZBDrone folder in PRogramData and started as admin… and boom… headshot

Thanks

Hahah, awesome, glad that worked. Thanks for reporting the issue as well, working on a solution for it now.

What worked for me was to delete config.xml in C:\ProgramData\zbDrone