Jellyfin Forum
Fast Reverse Proxy Rejects Connection - 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: Fast Reverse Proxy Rejects Connection (/t-fast-reverse-proxy-rejects-connection)



Fast Reverse Proxy Rejects Connection - Delta - 2024-11-12

I read the documentation, and there’s a section about using a Reverse Proxy for remote access. I’d like to use FRP (Fast Reverse Proxy). In other projects, TCP works properly.
My problem is that the connection was rejected. I tried to rule out FRPC/FRPS errors:
  • Jellyfin is accessible on the local network
  • Jellyfin is accessible from the FRPC container
  • Remote connections are enabled in Jellyfin’s network settings
  • According to FRPS, the HTTP proxy status is "Online"
  • I haven’t found any error-related logs
Here’s what the frpc.toml file looks like:
Code:
serverAddr = "serverIPAddress"
serverPort = 7000

[[proxies]]
name = "jellyfin-http"
type = "http"
localIP = "192.168...."
localPort = 8096
subdomain = "jellyfin"
customDomains = ["mydomain.com"]

Do you have any suggestions? Thank you in advance!


RE: Fast Reverse Proxy Rejects Connection - TheDreadPirate - 2024-11-12

Their documentation doesn't make clear what port FRP will use when you don't define a remote port. Does it just use port 80/443?


RE: Fast Reverse Proxy Rejects Connection - Delta - 2024-11-12

(2024-11-12, 10:18 PM)TheDreadPirate Wrote: Their documentation doesn't make clear what port FRP will use when you don't define a remote port.  Does it just use port 80/443?

Yes. In FRPS, you need to set the vhostHTTPPort (80, 443) so that FRPC can use the HTTP type.


RE: Fast Reverse Proxy Rejects Connection - Delta - 2024-11-13

(2024-11-12, 10:40 PM)Delta Wrote:
(2024-11-12, 10:18 PM)TheDreadPirate Wrote: Their documentation doesn't make clear what port FRP will use when you don't define a remote port.  Does it just use port 80/443?

Yes. In FRPS, you need to set the vhostHTTPPort (80, 443) so that FRPC can use the HTTP type.

UPDATE: As a test, I tried
  • set the vhost address to port 8096: the request is still being rejected
  • set Jellyfin InternalHttpPort and PublicHttpPort to 80: it doesn’t load even locally, so I had to revert to the original port in the network.xml file