this post was submitted on 17 Sep 2023
143 points (93.9% liked)

Selfhosted

39224 readers
405 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Just switched from Plex... but might be going back lol. Http:/localhost :8097 works on my PC where my JF server is hosted. But I can't connect on any other devices on the same network. What I have tried:

  • enabled private connections in Windows Defender. Then tried public too.

  • went to settings and binded address to 0.0.0.0

  • changed my port from 8096 to 8097 just to see if a different port would work.

  • Made an inbound rule for port 8097 in advanced firewall settings.

Not sure what's going on here. On Plex it was easy to discover other devices on the same network. I have JF localhost connected to my Cloudflare Tunnel and I have access on all of my devices that way... but I rather just use my internal ip when I'm at home. Any help?

UPDATE: Literally been at this for hours, and as soon as I post the question on Lemmy...I figured it out. πŸ€¦πŸ½β€β™‚οΈπŸ€¦πŸ½β€β™‚οΈπŸ€¦πŸ½β€β™‚οΈπŸ€¦πŸ½β€β™‚οΈ

On Windows, I had to go to settings > networks and internet > and select private network. Don't know how it was on public. Smh. I'll leave this here just in case anyone else has the same issue.

you are viewing a single comment's thread
view the rest of the comments
[–] KairuByte@lemmy.dbzer0.com 144 points 1 year ago (2 children)

I always chuckle when I see someone censoring an internal IP. It’s like intentionally not naming the room you’re in (kitchen, bathroom, bedroom, etc) when you’re on the phone so the person on the other end can’t find you on a globe.

[–] dutchkimble@lemy.lol 49 points 1 year ago (3 children)

If we pull in a team effort we can all collectively try 1 to 255 for the last octet and download all the money from this man's bank account and split it between us what say?

[–] tj@kbin.social 14 points 1 year ago (1 children)

I'm in. We just need 253 more people

I'll cover the gateway to make sure they don't sneak off to another net.

[–] user224@lemmy.sdf.org 4 points 1 year ago

Are you sure he's using 255.255.255.0 network mask though?

[–] Valmond@lemmy.mindoki.com 3 points 1 year ago (2 children)

Isn't 255 the broadcast address?

[–] deur@feddit.nl 8 points 1 year ago

We'll mark you down as having tested 255 then, 1 down, 254 to go!

[–] aard@kyu.de 3 points 1 year ago (1 children)
[–] VonReposti@feddit.dk -4 points 1 year ago (2 children)

The 192.168.x.x IP range doesn't allow for subnet masks greater than 255.255.255.0. How that's enforced I can't remember, but I'm 99% sure he isn't using larger subnets.

[–] aard@kyu.de 6 points 1 year ago (1 children)

The 192.168.x.x IP range doesn't allow for subnet masks greater than 255.255.255.0

This is nonsense. In that space you get a /16, and you can do with it whatever you want.

[–] VonReposti@feddit.dk -4 points 1 year ago (1 children)

No it's not. 192.168.x.x is a reserved class C range which per specification is limited to 255.255.255.0

[–] aard@kyu.de 2 points 1 year ago (1 children)

Stop sprouting that kind of bullshit.

Class based networking has been obsolete for 3 decades now - and RfC 1519 was quickly implemented, so pretty much by the mid 90s any device looking up network masks by classes could be considered some broken legacy device.

RfC 1918 - which allocates the private IP ranges - came 2.5 years after the introduction of CIDR, specifies the networks in bit notation, and only references what the equivalent networks were in class notation as reference for people who have been asleep for a few years.

[–] VonReposti@feddit.dk -4 points 1 year ago (1 children)

You know, I would have looked it up and checked if there were holes on my knowledge but you being a dick about it makes me not want to.

Next time, don't assume the worst in people and you might actually succeed in convincing them.

[–] aard@kyu.de -2 points 1 year ago (1 children)

If you're younger than ~40 you shouldn't even know the term 'network class', unless you're really into history of computer networks. If you learned that term in some kind of school I'd question the rest of what they've been teaching as well.

If you're older than 40 you should've stopped using class based concepts at least two decades ago.

[–] ProjectPatatoe@lemmy.world 1 points 1 year ago (1 children)

I know it because of Half-Life 1. If your tried to connect to a network game as lan while giving a non-class c ip, it specifically mentioned class c.

[–] aard@kyu.de 0 points 1 year ago

Interesting, I never encountered that - though that also fits the "2.5 decades" timeframe.

It still shows the author of the error message has no idea about networking: even if we assume network classes apply to RfC 1918 addresses (which they don't) the majority of those addresses are class A or class B networks.

And looking at it the other way round (using "class C" synonymous with "private addresses) doesn't work - the majority of addresses in class C space are public addresses.

[–] SoaringDE@feddit.de 1 points 1 year ago (1 children)

The .x.x literally shows that you can fit a /16 (255.255.0.0) in there. 192.168.0.0 255.255.0.0

[–] VonReposti@feddit.dk -3 points 1 year ago

No, that's a placeholder a set. It's a class C range which is limited to 254 hosts.

[–] techgearwhips@lemmy.ml 9 points 1 year ago (1 children)

New to selfhosting. Didn't know any better πŸ€·πŸΎβ€β™‚οΈ

[–] KairuByte@lemmy.dbzer0.com 10 points 1 year ago (1 children)

To be clear, my comment wasn’t meant to be mean spirited.

[–] techgearwhips@lemmy.ml 3 points 1 year ago

Y'all been coming at my neck about this ip address thing. I had to check to make sure I wasn't back on reddit 😭