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?
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.
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.
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.
CasaOS creates just a guest smb, have you tried “guest” without PW on port 445?
I did and got the same results unfortunately. Good to know though, thank you
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters IP Internet Protocol SMB Server Message Block protocol for file and printer sharing; Windows-native VPN Virtual Private Network
[Thread #850 for this sub, first seen 4th Jul 2024, 14:45] [FAQ] [Full list] [Contact] [Source code]