• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access SOLVED: Editing network.xml doesn't work

     
    • 0 Vote(s) - 0 Average

    SOLVED: Editing network.xml doesn't work

    Can't connect
    macnab
    Offline

    Junior Member

    Posts: 13
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:South Africa
    #1
    2024-06-15, 07:16 AM (This post was last modified: 2024-06-15, 08:33 AM by macnab. Edited 4 times in total.)
    Windows 11 latest
    Jellyfin 10.8.13

    My PC ip4 is 192.168.1.108
    So subnet is 192.168.0.100/16 (Verified in router.)

    Logs show Jellyfin trying to use 192.168.0.0/16

    Read in a different post to edit network.xml
    <LocalNetworkSubnets> and <LocalNetworkAddresses> are empty.
    Stopped Jellyfin, edited them to be 192.168.0.100/16
    Restarted Jellyfin.
    Log still shows  192.168.0.0/16

    It does have the server's IP correct.

    So Jellyfin seems to be getting the info elsewhere.

    EDIT: Completely uninstalled 10.8.13 and installed 10.9.6. Now there isn't a network.xml any more.


    Attached Files
    .txt   log_20240615.txt (Size: 6 KB / Downloads: 59)
    Go to solution
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2024-06-15, 10:13 AM (This post was last modified: 2024-06-15, 11:00 AM by Efficient_Good_5784. Edited 1 time in total.)
    (2024-06-15, 07:16 AM)macnab Wrote: <LocalNetworkSubnets> and <LocalNetworkAddresses> are empty.
    Stopped Jellyfin, edited them to be 192.168.0.100/16
    Restarted Jellyfin.
    Log still shows  192.168.0.0/16
    192.168.0.0/16 matches to your desired ip range. The /16 subnet mask means the first 6 numbers will be the same (and treated as part of the same network) and the rest can change to give out IPs for that local network. So 192.168.0.### IP addresses fall in the range Jellyfin is using.

    What is the issue you're trying to solve here? Is it a single or multiple clients that can't connect to your server?
    macnab
    Offline

    Junior Member

    Posts: 13
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:South Africa
    #3
    2024-06-17, 11:50 AM
    Trying to get my PC to connect so that I can define my folders, etc.
    I get "We're unable to connect to the selected server right now. Please ensure it is running and try again."
    Task Manager says Jellyfin.Server is running.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-17, 01:14 PM
    Did you open the Windows firewall during install? If not you need to add a firewall rule. You could also use "http://localhost:8096" to do the setup since localhost doesn't go through the firewall. Regardless, if only localhost is accessible, you need to add a firewall rule for jellyfin.exe.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    macnab
    Offline

    Junior Member

    Posts: 13
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:South Africa
    #5
    2024-06-18, 06:31 AM (This post was last modified: 2024-06-18, 06:46 AM by macnab. Edited 1 time in total.)
    Jellyfin.exe has both an inbound and outbound rule for my private network, all protocols, all ports.

    Using http://localhost:8096 is exactly the same. Says Select Server. Huge blue square called DESKTOP-70OJU52. Can't connect.

    However, Create new server allowed me to enter the CORRECT IP address. To log in I selected Forgot Password. Response: Please try again within your home network to initiate the password reset process. This is because Jellyfin insists that my IP range is 192.168.0.0/16 when it is 192.168.0.100/16. And of course it just ignores the info in network.xml. Although it does do a syntax check.
    Cognicom
    Offline

    Junior Member

    Posts: 22
    Threads: 1
    Joined: 2023 Jun
    Reputation: 2
    Country:Australia
    #6
    2024-06-18, 07:40 AM (This post was last modified: 2024-06-18, 07:54 AM by Cognicom. Edited 1 time in total.)
    (2024-06-18, 06:31 AM)macnab Wrote: Jellyfin.exe has both an inbound and outbound rule for my private network, all protocols, all ports.

    Using http://localhost:8096 is exactly the same. Says Select Server. Huge blue square called DESKTOP-70OJU52. Can't connect.

    However, Create new server allowed me to enter the CORRECT IP address. To log in I selected Forgot Password. Response: Please try again within your home network to initiate the password reset process. This is because Jellyfin insists that my IP range is 192.168.0.0/16 when it is 192.168.0.100/16. And of course it just ignores the info in network.xml. Although it does do a syntax check.

    192.168.0.0/16 and 192.168.0.100/16 are the same network. In times of old (and among those who deal with networking on a daily basis), the subnet is written as 192.168/16 - to save keystrokes and to make it impossible to misunderstand what it's referring to.

    What's the subnet mask in your Windows configuration? I've encountered countless systems where a computer's set to /16 (255.255.0.0) and the router's set to /24 (255.255.255.0) or vice-versa. This situation will always yield mysterious issues.

    Also... Try temporarily disabling the Windows firewall entirely - I've a suspicion that using the rule you've created, Windows isn't allowing traffic through to the running (web) process, only to the main Jellyfin executable. If everything runs as it should with the firewall disabled, re-enable the firewall, delete the Jellyfin.exe rules, and create port-based (not application-based) in/out rules for your local network (192.168/16).
    Amentis aperi, politicus mortus politicus bonus est!  Raised-fist
    macnab
    Offline

    Junior Member

    Posts: 13
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:South Africa
    #7
    2024-06-18, 08:31 AM
    Subnet masks match.
    Disabling the firewall made progress. I deleted the old, incorrect server and selected the, now visible, correct server. When I say Open Jellyfin I just get a black screen.
    Created port 8096 rules for both directions and for TCP and UDP.
    Situation is the same as for firewall disabled.
    Going to try reboot. And maybe reinstall.
    macnab
    Offline

    Junior Member

    Posts: 13
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:South Africa
    #8
    2024-06-18, 08:43 AM
    OK. Restarting changed my rules to the app based rules, but at least it connects to the server. Reinstalled as well, but wizardstart still yields only a black screen.
    macnab
    Offline

    Junior Member

    Posts: 13
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:South Africa
    #9
    2024-06-18, 09:18 AM (This post was last modified: 2024-06-18, 09:19 AM by macnab. Edited 1 time in total.)
    Basically the series of events was:
    Disable firewall
    Select (now visible) correct server.
    Enable firewall, create port-based firewall rules. These were removed during reinstallation. Somehow this made the installer insert the correct rules.
    Install the desktop media player.

    @Cognicom Thanks for the help.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode