This lets your phone (or any device on the same Wi-Fi / LAN) access your computer’s directory via a browser using your PC’s IP address and a chosen port.
Open Command Prompt (cmd) on Windows and type:
ipconfig ✅Look for:
Wireless LAN adapter Wi-Fi:
IPv4 Address . . . . . . . . . . . : 192.168.x.x
That 192.168.x.x is your computer’s LAN IP.
✅ Now go to the folder you want to share and open a terminal (cmd or PowerShell). Run this command:
python -m http.server 8000 ✅or if you want to specify directory explicitly:
python -m http.server 8000 --directory "C:\Users\YourName\Videos"This starts a server on port 8000.
- Make sure your phone and laptop are on the same Wi-Fi network.
- Open a browser on your phone and type:
http://<your_PC_IP>:8000 ✅
Example:
http://192.168.1.47:8000
Now you’ll see a directory listing like in your screenshot. You can click videos, images, or files — they’ll stream directly!
If you want a nicer file browser, you can install http.server with autoindex (extra features):
pip install httpserver
httpserverOr use Flask if you want a custom design:
from flask import Flask, send_from_directory
import os
app = Flask(__name__)
SHARE_DIR = "C:/Users/YourName/Videos"
@app.route('/')
def list_files():
files = os.listdir(SHARE_DIR)
return '<br>'.join([f'<a href="/file/{f}">{f}</a>' for f in files])
@app.route('/file/<path:filename>')
def get_file(filename):
return send_from_directory(SHARE_DIR, filename)
if __name__ == '__main__':
app.run(host="0.0.0.0", port=8000, debug=True)Run it:
python app.pyThen open:
http://<your_PC_IP>:8000


