binarythistle / S04E03---.NET-Microservices-Course-

Code for the Introduction to .NET Microservices
592 stars 329 forks source link

I can't access the host name without port number #16

Open IslamKhalil314 opened 1 year ago

IslamKhalil314 commented 1 year ago

In the tutorial, I set the hostname to "acme.com" in ingress-srv.yaml and applied it. However, when I tried to access it, it was inaccessible even after I changed the default IIS port. Upon listing services in the ingress namespace, I attempted to access the host using "acme.com:31348/api/platforms" and it worked. Is this behavior normal? How can I access it using the default port (80)? image image

darsenault77 commented 1 year ago

Just to get it out of the way, did you add 127.0.0.1 acme.com to your system's hosts file?

apilola commented 1 year ago

I'm suffering from the same problem....

image

apilola commented 1 year ago

I solved it.

I had to go back earlier in the video.

lalithamudala7 commented 2 months ago

How did you solve it?