Nsight Monitor crashing on startup

I’m having an issue where Nsight Monitor is crashing on startup, showing the exception:

Failed with exception CommunicationException: A TCP error (10013: An attempt was made to access a socket in a way forbidden by its access permissions) occurred while listening on IP Endpoint=0.0.0.0:8000.

I see that some other application is using port 8000, using ‘netstat -ab’, but don’t know which application due to the IT policy of my company.

I’m not able to change Nsight’s port number through GUI and can’t find the config file to do so.

How can I fix this?

1 Like

Try this:

  • Go to your Nsight installation folder.
  • Look under Monitor64\Common\ModelDefinitions.
  • Open Monitor.General.nvmodel.xaml
  • Search for 8000 and change it to whatever value you want.
  • Note that in Visual Studio you will need to go to Nsight|Options..., then under General change the port to match.
1 Like

I just installed the Visual Studio edition 2019.1, and the monitor file to change is Monitor\Common\ModelDefinitions\Monitor.General.nvmodel