blog}

Visual Studio: come risolvere l’errore “Unable to launch the IIS Express Web server … Failed to register URL http://localhost:63591/ for site xxxxxx application”

Può succedere che eseguendo un’applicazione da Visual Studio venga restituito il seguente errore:

Microsoft Visual Studio
—————————
Unable to launch the IIS Express Web server.

Failed to register URL “http://localhost:63591/” for site “xxxxxx” application
“/”. Error description: The process cannot access the file because it is being
used by another process. (0x80070020)

Aprire quindi CMD ed eseguire il seguente comando:

netstat -ao | findstr <port_number_to_search_for>
in cui <port_number_to_search_for> è la porta da ricerca, ad esempio la porta 63591
Ad esempio:
C:\>netstat -ao | findstr 63591
TCP 12.0.0.1:4026 cs-pc:4026 LISTENING 9544

L’ultimo numero visualizzato (9544) è l’ID del processo che utilizza la porta richiesta da Visual Studio.
Premere Ctr+Alt+Canc, identificare il processo con ID 9544 e chiuderlo.

ti è piaciuto l'articolo? condividi

sharing my ICT knowledge and expertise through the documentation of my experiences

Eros Sormani

Mi occupo di progettazione e sviluppo di soluzioni software e di creazione, implementazione e mantenimento di infrastrutture digitali

Altri Articoli del BLOG

Torna su