"Eliminazione prenotazione URL non riuscita, errore: 87" quando I 'netsh http delete'


7

Ottengo il seguente errore quando elimini una regola:

C:> netsh http delete urlacl url=http://localhost:80

URL reservation delete failed , Error: 87
The parameter is incorrect.

Quando faccio 'netsh http show urlacl', vedo questa regola:

  Reserved URL            : http://localhost:80/
      User: myself
          Listen: Yes
          Delegate: No
          SDDL: D:(A;;GX;;;S-1-5-21-124525095-708259637-1543119021-1467807)

Qual è la causa del problema?

Risposte:


10

Ti manca una barra finale. Usa invece:

netsh http delete urlacl url=http://localhost:80/

Quando usi netsh show urlacl sullo stesso URL, la voce URL riservata ha una barra finale. Questo è l'URL che dovresti usare per qualsiasi operazione urlacl.

Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.