diff options
author | Conley Owens <cco3@android.com> | 2011-04-22 14:10:05 -0700 |
---|---|---|
committer | Conley Owens <cco3@android.com> | 2011-04-22 14:22:57 -0700 |
commit | 578f853f608004562a8eb6a4d0a29801815e4562 (patch) | |
tree | e85bdd0f9ebeb667a5e068753f4205fab5c814c7 /scripts | |
parent | 68ef984458abac28d1b0e5e6319ca0ddae9c1715 (diff) | |
download | source.android.com-578f853f608004562a8eb6a4d0a29801815e4562.tar.gz |
Changed micro-httpd to serve on 0.0.0.0 instead of just localhost.
Change-Id: Ib1974cb2e216ceaf54e3a78dbd43f0a5661a5e4a
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/micro-httpd.py | 2 |
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() |