# Configuring Traefik to Access Service on Custom HTTPS Port

**URL:** <https://community.traefik.io/t/configuring-traefik-to-access-service-on-custom-https-port/24711>\
**Category:** Traefik v3 (latest)\
**Tags:** tcp, kubernetes-ingress, kubernetes-crd\
**Created:** [October 7, 2024, 5:42pm UTC](https://community.traefik.io/t/configuring-traefik-to-access-service-on-custom-https-port/24711 "2024-10-07T17:42:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![athen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/athen/32/9416_2.png) [@athen](https://community.traefik.io/u/athen)\
**Post date:** [October 7, 2024, 5:42pm UTC](https://community.traefik.io/t/configuring-traefik-to-access-service-on-custom-https-port/24711/1 "2024-10-07T17:42:09Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![wwe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/wwe/32/8932_2.png) [@wwe](https://community.traefik.io/u/wwe)\
**Post date:** [October 14, 2024, 3:30pm UTC](https://community.traefik.io/t/configuring-traefik-to-access-service-on-custom-https-port/24711/2 "2024-10-14T15:30:33Z")

</div>

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](https://doc.traefik.io/traefik/routing/providers/docker/))

```auto
traefik.http.routers.<router_name>.entrypoints

```

---

<div class="post-metadata">

**Author:** ![athen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/athen/32/9416_2.png) [@athen](https://community.traefik.io/u/athen)\
**Post date:** [October 15, 2024, 5:10am UTC](https://community.traefik.io/t/configuring-traefik-to-access-service-on-custom-https-port/24711/3 "2024-10-15T05:10:39Z")

</div>

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 !

---

<div class="post-metadata">

**Author:** ![wwe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/wwe/32/8932_2.png) [@wwe](https://community.traefik.io/u/wwe)\
**Post date:** [October 16, 2024, 9:16am UTC](https://community.traefik.io/t/configuring-traefik-to-access-service-on-custom-https-port/24711/4 "2024-10-16T09:16:51Z")

</div>

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

- [Kubernetes Ingress Routing Configuration - Traefik](https://doc.traefik.io/traefik/routing/providers/kubernetes-ingress/)
- [Routing Configuration for Traefik CRD - Traefik](https://doc.traefik.io/traefik/routing/providers/kubernetes-crd/)

---

<div class="post-metadata">

**Author:** ![athen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/athen/32/9416_2.png) [@athen](https://community.traefik.io/u/athen)\
**Post date:** [October 17, 2024, 1:04pm UTC](https://community.traefik.io/t/configuring-traefik-to-access-service-on-custom-https-port/24711/5 "2024-10-17T13:04:50Z")

</div>

thanks for your response! I'll check this.
