netsh.exe: Error 87

Solution 1:

I had the same error; in my case, the mistake I was making was omitting the trailing slash from the URL:

C:\>netsh http add urlacl url=http://+:8085 user=DOMAIN\myname
Url reservation add failed, Error: 87
The parameter is incorrect.


C:\>netsh http add urlacl url=http://+:8085/ user=DOMAIN\myname
URL reservation successfully added

Solution 2:

Port number "99898" isn't a valid TCP port number. TCP port numbers are 16-bit unsigned integers, so they can't exceed 65535. I would strongly suspect that this invalid port number is the reason for the error you're seeing.


Solution 3:

netsh http add urlacl url=https://*:8081/ user=Everyone

Also the trailing slash does matter -------------^