http server examples - So you need to easily share something with someone in the same network

Show table of contents

So, you need to simply share something with someone on the same network without going through facebook or anyother chat application.

Use a simple HTTP server! The examples below are meant for Linux users, I'm sure you can use them on Windows aswell.

For python you can use

python -m SimpleHTTPServer 8000

If you have PHP installed

php -S localhost:8000

A node.js server

sudo npm install http-server -g
http-server

For TCL you can use tanzer, tclhttp but I haven't been able to find a oneliner so I'll exclude this untill later.

Subscribe to my newsletter


The comments section is closed.

You might enjoy these similar articles:

Subscribe to my newsletter!