Search code examples
wcfwindows-server-2008netsh

netsh http add urlacl fail - parameter is incorrect


I'm trying to register wcf net tcp port sharing, for a process to listen on this port (currently the client machine can't even ping this port eventhough the process is up so I read this command is needed):

netsh http add urlacl user=domain\svcUser url=net.tcp://+:8092/Service1

getting Url reservation failed, Error 87. The parameter is incorrect.

Also tried changing the user, the port, removing the Service1, adding a trailing /. Is there anything else that should be done?

Remark: The following command does succeed (but does not help): netsh http add urlacl user=domain\svcUser url=http://+:8092/Service1

This post shows the usage of netsh in this case

This post deals with error 87 but did not solve in my case


Solution

  • You mean the command succeed but it didn't work. This is not normal.

    Maybe you can try this:

    netsh http add urlacl url=http://+:8092 user=domain\svcUser