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. 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.