Answer the question
In order to leave comments, you need to log in
The question is closed. How to solve the problem with the crash of the .Net program?
Good day.
The essence of the problem:
There is a terminal server (Windows Server 2008 R2) with a certain number of users. A program is installed on it that is necessary for working remotely (the program is installed on the server, as it uses internal resources and cannot be installed, for example, on a laptop). Single user operation requires a dedicated IP address, so the server is configured with IP virtualization.
For a while, the program worked fine - each user logged into the remote desktop, got their virtual IP and worked. But at one point, the program began to crash with the following error:
System.Net.Sockets.SocketException An attempt was made to access a socket by a method forbidden by access rights
Searches on the Internet did not lead to anything significant. I changed the maximum number of available ports in the registry - it did not help. Disabling the firewall did not solve the problem either.
The program, when starting each of its instances, uses the same port (sometimes it sometimes takes a while and others).
Answer the question
In order to leave comments, you need to log in
Use Remote Debug Tools to find out exactly where this error is crashing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question