this post was submitted on 26 Jun 2024
16 points (90.0% liked)

Selfhosted

40329 readers
419 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
 

I'm new to self hosting and just got CasaOS setup following up to part two of Tech DB's guide. The SMB works on my Linux computer, I can create documents, etc. However I'm having trouble accessing it on my Android phone. I'm using Material Files, Search for SMB shares, and find "CASAOS" but it's under a different IP address as the server. Then when I click on it, it prefills some of the lines such as "Hostname: CASAOS" and "Port: 445". I have added my login info as either my CasaOS login and SSH login but both don't work and I've changed the port to 80 as that's CasaOS default but every combination I try fails with "java8... UnknownHostConnection... and more" Any ideas?

you are viewing a single comment's thread
view the rest of the comments
[–] cereals@lemmy.ml 7 points 5 months ago (2 children)

If you're using a /24 network the IP shown in the screenshot is the broadcast IP of your network.

445 is the default port for smb. It should be the same on every os if you didn't manually chang it. 80 is http by default. Did you maybe set it for a Webinterface?

Try adding it manually and enter the IP of your smb server, port 445 and the user/password you set for smb.

[–] ramble81@lemm.ee 3 points 5 months ago

Thank you for qualifying that. I hate when people immediately go “.255 isn’t a valid address!” It, and .0 very much are if you’re using a /23 or larger.

[–] sic_semper_tyrannis@lemmy.today 1 points 4 months ago

Thank you. I clearly need to prioritize learning more about ports. I have had little time to try fixing this issue (hence why this comment is so late) but figured out it was VPN related. My phone's VPN was blocking connection. After enabling local network bypass another SMB entry appeared with the accurate IP, if required me to only enter my username and then it connected fine.