I am doing a research piece on Consul at the detailed technical level. I need some help understanding how to access a service registered by name in Consul from outside of Consul. For example, let’s say I register a service,
dogs.service.consul that binds to the public IP address and port according to my definition, IP =
18.104.22.168 and port =
9123. I am bit mystified as to how to access this service using something like, curl
http://dogs.service.consul from out on the internet.
I admit I must be missing some basic understanding of Consul. If so, I welcome any education that can be thrown my way. Also, I never expect anybody to help me out for free. Thanks in advance.