I'm having some trouble creating a urlacl reservation in Windows Server 2008; probably this a rookie mistake.
The command line I'm using is:
netsh http add urlacl url=http://+:99898/ user=ben
The error that I see is:
Url reservation add failed, Error: 87
The parameter is incorrect.
There is a local user account named 'ben' that has admin privileges. I've made sure to put a trailing slash after the port number in the URL. Google and MSDN documentation are letting me down now - does anyone have any clue what I'm doing incorrectly?
I had the same error; in my case, the mistake I was making was omitting the trailing slash from the URL:
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.
Also the trailing slash does matter -------------^