• Bubble
  • Bubble
  • Line
http server examples - So you need to easily share something with someone in the same network
Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2015-12-16T15:10:00Z
  • 1 min to read

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.

Andrei Clinciu
Andrei Clinciu

I'm a Full Stack Software Developer specializing in creating websites and applications which aid businesses to automate. Software which can help you simplify your life. Let's work together!

Building Great Software
The digital Revolution begins when you learn to automate with personalized software.

Find me on social media