News for hackers. Stuff that matters.

Ask HN: Why aren't phones being used as local private servers?

Phones nowaday have the processing power to do any kind of private server work.

A private server phone is similar to a home-server, as it can be used as a media server, file host, file share, git server, web server (acting as an interface to any of the other utilities).

It can even serve as a configuration server, as many people are struggling with keeping their program configurations the same between several OS'es and or devices.

I can imagine that people don't want to do it because of battery issues, or that most people aren't even aware that you can use your phone as a local server.

( 16 comments | 18 points | on HN )
Re:Ask HN: Why aren't phones being used as local private ser... by crazybob on Sunday October 26, 2014 @09:04PM (#8513255)
I used an old Android phone for my garage door server: https://plus.google.com/+BobLee/posts/7LyfdV3PC5X

It runs the Jetty web server. When I was the core library lead for the Android platform ('06-'09), we ran Jetty's test suite as part of Android's acceptance tests, so it works great!

Why don't people use phones as servers more often? They're overkill when you can get a Raspberry Pi for ~$50. You typically don't need an LCD, touch screen, accelerometer, cell radio, etc. for a home server.

Also, Android runs a heavily stripped down version of Linux, so running off-the-shelf server software can be tricky.

Re:Ask HN: Why aren't phones being used as local private ser... by ja27 on Sunday October 26, 2014 @09:37PM (#8513341)
But you can get a low-spec Jelly Bean phone for $20, with charger, wifi, bluetooth, camera, and battery. I love my Raspberry Pi's (and PogoPlugs) but cheap Android phones are pretty attractive devices too, especially ones that can be rooted without much trouble.

http://www.bestbuy.com/site/net10-zte-whirl-2-no-contract-ce...

Re:Ask HN: Why aren't phones being used as local private ser... by crazybob on Sunday October 26, 2014 @10:27PM (#8513472)
That's news to me. Very cool!
Re:Ask HN: Why aren't phones being used as local private ser... by Redoubts on Sunday October 26, 2014 @09:02PM (#8513250)
I would if I had an Ubuntu Edge

http://en.wikipedia.org/wiki/Ubuntu_Edge

Re:Ask HN: Why aren't phones being used as local private ser... by MrDom on Sunday October 26, 2014 @09:27PM (#8513317)
The reason I don't is battery life. Running a server of any kind kills my phone in record time. I could leave it plugged in, but then it becomes a very expensive and underpowered server. I prefer to use old laptops because the cost/power ratio is more favorable (and those old IBM thinkpads are like the energizer bunny. they keep going and going...)
Re:Ask HN: Why aren't phones being used as local private ser... by anywherenotes on Monday October 27, 2014 @10:07AM (#8515477)
I have a related question.

If I get into a car (especially one loaned for a day), shouldn't I be able to connect to the car with Bluetooth, and then have car settings for at least the radio come up on the phone? So for example if I want button1 to be station 123, all I'd have to do is sync those settings against phone.

I guess the question is, if I have a smart phone, why do I still need to use car-interface to set up buttons for radio? Why can't there be apps that remember settings and update them automatically. With such apps, you could configure your car to play kid-friendly radio when you drive kids to school, and your favorite channel on your way to work. You wouldn't have issues switching between your and spouse's car (different settings, and maybe they reset radio or dealer changed battery and reset radio).

(or maybe this is all available on better cars than I own)

Re:Ask HN: Why aren't phones being used as local private ser... by rco8786 on Tuesday October 28, 2014 @05:23PM (#8523680)
This would require the phone/app to know and be able to reconcile all the different configuration and communication schemas for all the different makes/models of cars AND for the cars themselves to publish what amounts to an API to allow for this sort of interaction.

Nobody wants to do that sort of work on the phone side, and the car manufacturers really have no incentive to provide an API especially since they use their interfaces as selling points (BMW's iDrive, Tesla's 60" screen, etc).

Re:Ask HN: Why aren't phones being used as local private ser... by matt_heimer on Sunday October 26, 2014 @09:06PM (#8513258)
* Storage space/attachment is an issue

* Local lan speed sucks - some phones still only have 2.4Ghz 802.11n

* Cost is an issue - If I have a spare phone sitting around I'd probably be better off selling it and buying a small ARM board with ethernet that I can run Linux on and a USB drive.

Re:Ask HN: Why aren't phones being used as local private ser... by ZenoArrow on Sunday October 26, 2014 @08:08PM (#8513096)
Well, you can certainly get web servers running on Android (I've used Bit Web Server before, and there are free alternatives... https://play.google.com/store/apps/details?id=com.andi.serve... ). The only question is whether you'd be able to install something like OwnCloud on it... https://owncloud.org/install/
Re:Ask HN: Why aren't phones being used as local private ser... by kbcool on Sunday October 26, 2014 @08:17PM (#8513128)
I would say storage space is still the issue. Most phones still come with 8/16 gigs where as on PCs a terabyte or more is common.
Re:Ask HN: Why aren't phones being used as local private ser... by lacoolj on Sunday October 26, 2014 @09:03PM (#8513252)
Branching on this, why not an app to enable a Tor server only when wifi is available? And for those scared to allow it on their own network, allow the user to disable it on a certain SSID or somethin.
Re:Ask HN: Why aren't phones being used as local private ser... by zaroth on Monday October 27, 2014 @01:11AM (#8513972)
I don't know if hidden services behave better if they are actually jumping around between different access networks, or if they can actually hide more safely by staying at a single point (single set of guards). That would be something you would want to know before trying this :-)
Re:Ask HN: Why aren't phones being used as local private ser... by justcommenting on Sunday October 26, 2014 @10:37PM (#8513491)
you may be interested in https://guardianproject.info/apps/orbot/ which at least previously supported running a relay. the same can be accomplished from within the guardian project's lildebi app.
Re:Ask HN: Why aren't phones being used as local private ser... by J_Darnley on Tuesday October 28, 2014 @03:34PM (#8523068)
Because that would be you exercising the freedom to use your phones as you wish rather than being locked into the walled garden by the OS manufacturer.
Re:Ask HN: Why aren't phones being used as local private ser... by lkedem on Tuesday October 28, 2014 @08:24AM (#8520551)
My phone is my media server. It has a light webserver with streaming and when I'm home this is how I listen to music or watch shows.
Re:Ask HN: Why aren't phones being used as local private ser... by ycmk on Sunday October 26, 2014 @07:54PM (#8513052)
It's only a matter of time before somebody does it, but at the moment I can't get the damn LXC working on Android :)