System.Net.Http.HttpRequestException: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address

  • Thread starter Thread starter HenrikBach1
  • Start date Start date
H

HenrikBach1

Guest
Hi,

I'm using a core .net 2.2.104 (server) application that listen on given ports.

However, I cannot get the application to listen on any ip addresses given by the 0.0.0.0 designation:

managementUri='http://0.0.0.0:15580/'
workloadUri='http://0.0.0.0:15581/'
iothubHostname='xxxxxxxxxx'
deviceId='iotedgedev-edgedevice'
moduleId='xxxxxxx'
moduleGenerationId='xxxxxxxx'
apiVersion='2018-06-28'
2019-03-24 12:00:05.973 +00:00 [INF] - Using the Management API via http://0.0.0.0:15580/
2019-03-24 12:00:05.973 +00:00 [INF] - Using the Workload API via http://0.0.0.0:15581/
2019-03-24 12:00:06.081 +00:00 [INF] - Started operation refresh twin config
2019-03-24 12:00:06.134 +00:00 [INF] - Edge agent attempting to connect to IoT Hub via Amqp_Tcp_Only...
2019-03-24 12:00:06.291 +00:00 [INF] - Using in-memory store
2019-03-24 12:00:06.364 +00:00 [FTL] - Fatal error starting xxxxx.
System.Net.Http.HttpRequestException: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address.
Parameter name: hostName ---> System.ArgumentException: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address.
Parameter name: hostName ...

What am I doing wrong?

Thank you.

/Henrik Bach

Continue reading...
 
Back
Top