Configuring Traefik to Access Service on Custom HTTPS Port

Hello everyone,
I'm new to Traefik and am trying to expose my service through port 5044. I've added the new port in the configuration, and it shows as "listening" in the Traefik dashboard. However, when I deploy the ingress route and attempt to access it via my browser using the URL **https://example-userlogin:5044**, I encounter a "no route to host" error. While the service works fine over HTTPS, I'm unable to access it through this custom port. I've verified my ingress configuration, checked DNS resolution, and ensured there are no firewall issues. Any assistance in troubleshooting this would be greatly appreciated!

It would really help if you provide your config.

I understand

  • your service runs with "default" entrypont on port :443 and https
  • you try to create another entrypoint on a custom port :5044
  • accessing the service on the new entrypoint fails

if above is true I assume you forgot to adjust your service configuration to utilize the new entrypoint (Traefik Docker Routing Documentation - Traefik)

traefik.http.routers.<router_name>.entrypoints

Hi wwe,
Thank you for your detailed response! I really appreciate it.
Do I need to add this annotation to my Kubernetes Service or Ingress route?
Thank you !

the above syntax is for Docker. I'm not familiar with Kbernetes but it seems similar:

thanks for your response! I'll check this.