Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

You can make a Web server on your router providing that you rewrite its firmware with a free DD-WRT, Tomato, etc.

You can also run a on a raspberry pi, given that you can run a Web server on any device provided it runs a Linux. Can I run a Web server on an Android device, and if yes, how can I set it up?

share|improve this question
up vote 8 down vote accepted


You can either download a ready made one - like kWS - Android Web Server or write your own - here's some code to integrate in to your project or just use as is

share|improve this answer
It says. This app is compatible with all of your devices. good +1/accept – Eduard Florinescu Oct 22 '12 at 15:02

The book Pro Android Python with SL4A comes with some free downloadable source code, you can find it on that official site. In the source code samples there are examples of basic httpserver, and basic ftpserver. Both of those will work on Android devices, I imagine it is also possible to make a more advanced webserver using python, or perhaps even re-purpose one that is already in existence.

share|improve this answer
Is python default in Android ? – Eduard Florinescu Oct 25 '12 at 8:20
@EduardFlorinescu To my knowledge it does not come pre-installed on any devices currently. It can be installed via SL4A, or its own standalone apk installer. – FoamyGuy Oct 25 '12 at 19:32 Yes thanks – Eduard Florinescu Oct 29 '12 at 22:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.