Super Simple Web Server

Netcat and various other utilities make it so easy to run a simple web server on your machine, but so does Python.

Here’s how you can run it on a Windows machine, but works quite well on Linux too (or Cygwin).


C:\>python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...

Now just point your browser here and you’ll see a list of everything served up from that directory. It can also be served up using your IP address and accessed from another machine on the same network.

http://127.0.0.1:8000
About these ads
Previous Post
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 686 other followers

%d bloggers like this: