← sources

Mobile (SmartPhone) Server - need feedback/help regarding setup

source: reddit (reddit:selfhosted)published 2026-09-20 07:35ingested 2026-09-21 02:37

retained text

I basically replaced old phone with a new phone because my display got bad.  
My old phone is Moto g62 5g - a little low end mobile for performance)  
but it was staying idle just because some display damage.

so I figured why not use it for my private files or file system, you know large files like movies or whatever.

then I thought maybe I can use it as server, so that where ever I go I have extra space to work with.

So I started digging into it. I am not tech genius (entry level software engineer and I dont what the f I am doing lol), so I had to search google, chat with ai (gemini) to orchestrate a plan for making this possible.

  
and I was able to do that. here are the steps / architecture I followed:

1. tailscale setup for me to access the mobile in my laptop using ssh but not using the ip assigned by my wifi.

2. termux on android side, used to run commands. later I used proot-distro login debian instance to start services on an debian instance.

3. the first service was jellyfin, to stream music and movies.

  
4. I was able to access the jellyfin on my laptop and other devices as well. And to my curiosity, I wanted to host some services like node, python, maybe spring.

  
5. So I wrote some basic code, to hit and verify, changing the ports for different services.

  
6. later I was suggested by gemini to use pm2 to handle all services so that the services will be online continuously.

[please ignore those cluster api instances, I was using graphana k6 to load test \(again just out of curiousity\) so I was breaking down the fork to cluster so that they can use multiple cores of the cpu.](https://preview.redd.it/l4seirm7nmqh1.png?width=1741&format=png&auto=webp&s=44114f5c546984142d0cec5df863c30b7138b7bf)

7. All the services are running fine, so I had to route them properly, so I used nginx, to write configurations to route them properly based on the URI that I am hitting. it worked after lot of tweaking and rewriting using ai.

8. and now I am really not moving forward. there are two reasons to it.

* I am not really confident enough to buy a domain for my thing, since this is just to pass my time and maybe learn a thing or two.
* I am using ngrok to port forward or more specifically make this setup to available to internet, using their free domain.

9. I could use cloudflare's testing domain as well, since this might at most used by 10 15 people.



so rate or roast my setup, but feel free to give me suggestions, the main goal for me is to make this work and also learn and test my learnings on backend technology.



Thanks.

note: I plan to make upload feature in one of the services for media, since I can not find any upload feature in jellyfin, so is there any better replacement for jellyfin? (not that jellyfin is bad)

document fetched 2026-09-21 00:28 · canonical https://reddit.com/r/selfhosted/comments/1wlaj8w/mobile_smartphone_server_need_feedbackhelp