aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2011-04-22 14:10:05 -0700
committerConley Owens <cco3@android.com>2011-04-22 14:22:57 -0700
commit578f853f608004562a8eb6a4d0a29801815e4562 (patch)
treee85bdd0f9ebeb667a5e068753f4205fab5c814c7
parent68ef984458abac28d1b0e5e6319ca0ddae9c1715 (diff)
downloadsource.android.com-578f853f608004562a8eb6a4d0a29801815e4562.tar.gz
Changed micro-httpd to serve on 0.0.0.0 instead of just localhost.
Change-Id: Ib1974cb2e216ceaf54e3a78dbd43f0a5661a5e4a
-rwxr-xr-xscripts/micro-httpd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/micro-httpd.py b/scripts/micro-httpd.py
index 853c2446..cf0b4027 100755
--- a/scripts/micro-httpd.py
+++ b/scripts/micro-httpd.py
@@ -17,5 +17,5 @@
import SimpleHTTPServer, SocketServer, os
PORT = int(os.environ.get('HTTP_PORT', 8080))
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
-httpd = SocketServer.TCPServer(("", PORT), Handler)
+httpd = SocketServer.TCPServer(("0.0.0.0", PORT), Handler)
httpd.serve_forever()