When Web App publishes to IIS, why bind a port on the server host? This is a very serious information security issue!

Closed
0
0

c#.Net 4.8 Web Desktop App publish to IIS occurs error as follow:

HTTP Error 502.5 – ANCM Out-Of-Process Startup Failure

Common solutions to this issue:

  • The application process failed to start
  • The application process started but then stopped
  • The application process started but failed to listen on the configured port

Troubleshooting steps:

  • Check the system event log for error messages
  • Enable logging the application process’ stdout messages
  • Attach a debugger to the application process and inspect

For more information visit: https://go.microsoft.com/fwlink/?LinkID=808681

Check the event viewer and find the following errors:

Application ‘/LM/W3SVC/6/ROOT’ with physical root ‘C:\inetpub\wwwroot\WebTest04\publish\’ failed to start process with commandline ‘”dotnet” .\yourapplication.dll’ with multiple retries. Failed to bind to port ‘43302’. First 30KB characters of captured stdout and stderr logs from multiple retries:

Application ‘/LM/W3SVC/6/ROOT’ with physical root ‘C:\inetpub\wwwroot\WebTest04\publish\’ failed to start process with commandline ‘”dotnet” .\yourapplication.dll’ with multiple retries. Failed to bind to port ‘2833’. First 30KB characters of captured stdout and stderr logs from multiple retries:

Application ‘/LM/W3SVC/6/ROOT’ with physical root ‘C:\inetpub\wwwroot\WebTest04\publish\’ failed to start process with commandline ‘”dotnet” .\yourapplication.dll’ with multiple retries. Failed to bind to port ‘37340’. First 30KB characters of captured stdout and stderr logs from multiple retries:

I only listed as above three errors, all of which are security issues. It turned out to be: Failed to bind to port ‘43302’. Failed to bind to port ‘2833’. Failed to bind to port ‘37340’. and so on, for information security reasons, how can the server host allow the system to open any port at will? So, this problem is very serious, please don’t frame your product lovers! okay? Please come up with a complete solution as soon as possible, Version 2 does not have this problem. In the short term, please tell me how to set a port to bind in the design program or Web.config, thank you!

  • Justice Lin
    The IP address bound on the website will be bound to a connection port. There is no need to open another connection port on the server host for binding, and it is a dynamic random connection port. This is a very dangerous approach and will not Permitted and Approved!
  • Justice Lin
    Application ‘/LM/W3SVC/6/ROOT’ is Microsoft product ?
  • Justice Lin
    Application ‘/LM/W3SVC/6/ROOT’ with physical root ‘C:\inetpub\wwwroot\WebTest04\publish\’ failed to start process with commandline ‘”dotnet” .\yourapplication.dll’ with multiple retries. Failed to bind to port ‘4925’. First 30KB characters of captured stdout and stderr logs from multiple retries: ☆★ This happens when browsing the website, and has nothing to do with the procedure and process of Visual Studio publishing AP to IIS. Please check it clearly and don’t push it to Microsoft.
  • You must to post comments
1
0

It’s not a Wisej.NET issue. The publishing is done by Visual Studio. You may want to contact Microsoft.

  • You must to post comments
Showing 1 result