This used to work in the past with no issues :-(
I'm running a simple .Net Console application. I'm trying to run it on my laptop. The same code runs perfectly in Azure Container Instances.
At the point I call "new QueueListener(<connection string>) I'm getting the exception below.
Microsoft.ServiceBus.Messaging.MessagingCommunicationException: The remote name could not be resolved: '<namespace>.servicebus.windows.net' ---> System.ServiceModel.CommunicationException: The remote name could not be resolved: '<namespace>.servicebus.windows.net' ---> System.IO.IOException: The remote name could not be resolved: '<namespace>.servicebus.windows.net' ---> System.Net.WebException: The remote name could not be resolved: '<namespace>.servicebus.windows.net'
1. I checked and the connection string is correct.
2. The container has network connection, I see this in Docker events: ... network connect 9cf78d18371e7aa59c75b093c3c2376718e6a297f3f14001d2710824bb50dda3 (container=4c3a4b4c785f8a2b31d908fa65147cada0c0207015fa05988493fc77588a75f9, name=nat, type=nat)
3. I tried adding " -p 5671:5671" on the "docker run" line, no difference.
Does anyone know what am I missing please?
Thank you, eugen
Thank you, eugen_nw