Set up a basic HTTP server (for downloading files from your phone) 12-08-2016, 12:48 PM
#1
Hi everyone,
So I found this pretty usefull, since it doesn't require a lot of apps and downloading is easy. It's very basic though and you can also use apps for this.
Step 1: Download Termux from Google Play
Termux is a terminal app for Android. It doesn't require root and is a pretty good terminal application.
Step 2: First we'll install python because we will be using the built-in HTTPserver from python. Type in the following code:
Step 3: Get your IP by typing in the following command (you will be using the IP as a URL):
Step 4: Type in the following code for starting the HTTP server:
You can change the port to whatever you want.
Step 5: In a browser of choice, type in the IP with ":" and the port number behind that.
For example: 152.26.63.53:8080
That's it, now you can download files from your phone through your webbrowser. Not a very detailed, difficult tutorial but usefull for some people.
So I found this pretty usefull, since it doesn't require a lot of apps and downloading is easy. It's very basic though and you can also use apps for this.
Step 1: Download Termux from Google Play
Termux is a terminal app for Android. It doesn't require root and is a pretty good terminal application.
Step 2: First we'll install python because we will be using the built-in HTTPserver from python. Type in the following code:
Code:
apt install pythonCode:
ifconfigCode:
python -m http.server 8080Step 5: In a browser of choice, type in the IP with ":" and the port number behind that.
For example: 152.26.63.53:8080
That's it, now you can download files from your phone through your webbrowser. Not a very detailed, difficult tutorial but usefull for some people.
(This post was last modified: 03-10-2017, 12:09 AM by Bish0pQ.)
~~ Might be back? ~~












![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)


![[Image: fff57f212d677f271df4da93a6fa8c36.jpg]](http://uploads.tapatalk-cdn.com/20161209/fff57f212d677f271df4da93a6fa8c36.jpg)
![[Image: d9129c854cbbf08abae1047db58deadf.jpg]](http://uploads.tapatalk-cdn.com/20161209/d9129c854cbbf08abae1047db58deadf.jpg)
![[Image: 4aeb044653a17ba3f4588cdf214cdf77.gif]](http://i.picasion.com/pic85/4aeb044653a17ba3f4588cdf214cdf77.gif)

