Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JiraForOutlook.Lifecycle.AddinLifecycle|Starting web app on "http://localhost:49215/" did not work System.Reflection.TargetInvocationException: Access denied
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at Microsoft.Owin.Host.HttpListener.OwinHttpListener.Start(HttpListener listener, Func)

….

This or similar errors might have different reasons:

  • A VPN connection or similar is blocking all available local ports. A simple computer / Windows reboot usually solves this issue

  • Your computer is very restricted by your central IT, in this case, please follow the steps below.

...

To solve this problemfor restricted PCs, you (or an administrator) will need to run the following commands from an elevated command line. Please make sure to replace “DOMAIN\user” with your actual domain and user name.

...

In case you are facing this error for a deplyoment deployment on in a virtualized/shared environment, you might need to allow access to more ports, since users share those in some cases. E.g. if user #1 opens Outlook, it will allocate port 49215, so user #2 will not be able to use the same port. Our add-in tries to open a port in the range between 49215-49315. To make this work, you’ll need to allow access to as many ports as you’ll have users on the same machine simultaneously:

...