No Connection to Jellyfin Server with HTTPS

Hello,

i want to integrate Jelyfin Media Server in Home Assistant.
With the integration i enter URL https://ipaddress:port and my user and passwort but it cannot connect.
With the domain it also diesnt work, because i think its going over the internet and blocked by firewall.
What can i do?
In Windows i have edited my hosts file to bind my domain to the destination ip adress is itpossible and recommended to do this with home assistant?

If you can’t get to the “domain” then it is likely not a Home assistant issue.
You need to enable HTTPS in the jellyfin Networking settings…


You also need to provide a certificate…
image
Check here…
https://jellyfin.org/docs/general/networking/index.html

Thank you. I have a working HTTPS connection with Browser with IP Address. But the DynDNS is not forwarded. In Windows i have edited the Hosts file so the domain pointers to Internal IP Address.
Jellyfin Client in Windows only works with FQDN, so i think Home Assistant Integration only works with FQDN with HTTPS but i can not set the Pointer IP to Domain and reverse.
Using the newest stable Jellyfin release.