-2

I want to set up a server on android. Anyone know how to do that? I do not have root. I do know about I-jetty. So any other ideas. Preferably where I learn how to make a server program. I can program in C, bash, etc. for android. I want to be able basically to run a "basic" server program (like Apache). All the program needs to do is host one page on port 8080.

1

The App your looking for is kWS. It will serve any html file you have on your phone to port 8080 (or other unused port), and it doesn't require a root.

If you want to run a custom server (i.e. with sockets), you'd need to develop your own app with sockets, although you'll need to know Java.

  • I don't know java. And I dont know networking. – yuxuantim Sep 14 '14 at 5:25
  • @yuxuantim You dont need to know Java, install this app, and put an html file on the directory you set in the app. – liamdiprose Sep 14 '14 at 5:27
  • @yuxuantim Check out this tutorial using kWS – liamdiprose Sep 14 '14 at 5:32
1

If you know PHP, then you may use PAW Server for Android. It requires the installation of PHP plugin. Here is the official site.

0

Another alternative is Palapa Web Server. It can serve both static and dynamic content as it has PHP and MySQL embedded.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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