PowerShell.REST.API icon indicating copy to clipboard operation
PowerShell.REST.API copied to clipboard

Running on any IP (IPv4 and IPv6)

Open dapollon83 opened this issue 6 years ago • 2 comments

I tried to configure the HostAddress to run on any IP as for the instructions

but I got the following error when running the Host

Error starting service - The value of the property 'HostAddress' cannot be parsed. The error is: Invalid URI: The hostname could not be parsed. (C:\test\DynamicPowerShellApi.Host.exe.Config line 6)

What should I write as HostAddress to listen to any ip? Thanks

dapollon83 avatar Sep 26 '19 15:09 dapollon83

<WebApiConfiguration HostAddress="http://+:9000">

tonybaloney avatar Mar 18 '20 21:03 tonybaloney

<WebApiConfiguration HostAddress="http://+:9000"> The same problem occurs with my tests. Unfortunately this entry does not work. '<WebApiConfiguration HostAddress = "http: // +: 9000">' leads to the error message described.

ghost avatar Aug 14 '21 11:08 ghost