Jellyfin Forum
SOLVED: Port problem - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Port problem (/t-solved-port-problem)



Port problem - jiahao zhu - 2024-05-29

我将默认端口 8096 更改为 10086。当我使用状态栏图标“打开 jellyfin”时,它仍然以 8096 打开,而不是 10086。  
默认打开是状态栏图标打开{open jellyfin}
http://localhost:8096/web/index.html
我想要的是http://localhost:10086/web/index.html
我已清除浏览器缓存
我正在用翻译软件说话,如果我说得不清楚,请允许我说声抱歉


RE: Port problem - TheDreadPirate - 2024-05-29

Did you save the setting and restart jellyfin?


RE: Port problem - jiahao zhu - 2024-05-29

Yes, I have saved it and restarted the computer and the server.


RE: Port problem - TheDreadPirate - 2024-05-29

Are you able to get to localhost:10086 if you type it in manually?

Can you share the contents of C:\ProgramData\Jellyfin\Server\config\network.xml ?


RE: Port problem - jiahao zhu - 2024-05-29

<NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<BaseUrl/>
<EnableHttps>false</EnableHttps>
<RequireHttps>false</RequireHttps>
<InternalHttpPort>10086</InternalHttpPort>
<InternalHttpsPort>8916</InternalHttpsPort>
<PublicHttpPort>10086</PublicHttpPort>
<PublicHttpsPort>8920</PublicHttpsPort>
<AutoDiscovery>true</AutoDiscovery>
<EnableUPnP>false</EnableUPnP>
<EnableIPv4>true</EnableIPv4>
<EnableIPv6>false</EnableIPv6>
<EnableRemoteAccess>true</EnableRemoteAccess>
<LocalNetworkSubnets/>
<LocalNetworkAddresses/>
<KnownProxies/>
<IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
<VirtualInterfaceNames>
<string>veth</string>
</VirtualInterfaceNames>
<EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
<PublishedServerUriBySubnet/>
<RemoteIPFilter/>
<IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
</NetworkConfiguration>

If I enter it manually, I can access 10086


RE: Port problem - TheDreadPirate - 2024-05-29

Ok. This is a code oversight. Some changes were made in network.xml and it looks like the Windows tray app was not updated to match.

https://github.com/jellyfin/jellyfin-server-windows/blob/6fd2959fe42b9776bd758ece45d81ef7637e284c/Jellyfin.Windows.Tray/TrayApplicationContext.cs#L175

The Windows tray app tries to read in "HttpServerPortNumber" but that variable name was changed to "InternalHttpPort".

I will submit a github issue.


RE: Port problem - TheDreadPirate - 2024-05-29

I opened this github issue.

https://github.com/jellyfin/jellyfin-server-windows/issues/126


RE: Port problem - jiahao zhu - 2024-05-29

Thank you. I can finally sleep well at night. I always thought it was my own problem. Thank you for answering my doubts. Do you find it strange that I use Google Translate to speak?


RE: Port problem - Beam Stream - 2024-05-29

This is the same problem I have. I'm glad its getting sorted. I have bookmarked the correct address in my browser so I don't have to manually type every time