Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

539
Views
dotnet core 3.1 IIS Error "Se intentó acceder a un socket de una manera prohibida por sus permisos de acceso (10013)"

Tengo un proyecto dotnet core 3.1. Lancé algunas máquinas en iis. Pero hoy no puedo iniciar la aplicación en iis. Puedo iniciar con el comando "dotnet <app.dll>" y todo está bien. Pero cuando ejecuto IIS, da este error.

"crit: Microsoft.AspNetCore.Server.Kestrel[0] No se puede iniciar Kestrel. System.Net.Sockets.SocketException (10013): se intentó acceder a un socket de una manera prohibida por sus permisos de acceso. en System.Net .Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(Error de SocketError, String callerName)"

Cualquier sugerencia ?

PD: Verifiqué mis puertos en uso con el comando netstat -o. No se usa desde ninguna aplicación.

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

netsh interface ipv4 show excludedportrange protocol=tcp

Mire los puertos enumerados y vea si se superpone con su puerto.

Si es así, reiniciar su PC o cambiar el puerto me solucionó esto.

Estoy usando el puerto 56240 , Windows Update a veces toma ese rango.

over 4 years ago · Santiago Trujillo Report

0

Finalmente encontré mi solución por mi cuenta. Eliminé la línea UseKestrel() de program.cs y todo está bien.

 var config = new ConfigurationBuilder().AddCommandLine(args).Build(); return Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); webBuilder.UseKestrel(); **//remove this line.** webBuilder.UseUrls(); webBuilder.UseIISIntegration(); }).ConfigureServices((context, services) => { services.AddHostedService<Worker>(); services.AddHostedService<MonitorWorker>(); services.AddHostedService<TransferWorker>(); }); }
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!