Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/adblockplus/files/mimeo.py

Issue 29586667: Make mimeo module only listen to localhost (Closed)
Patch Set: Created Oct. 23, 2017, 3:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/files/mimeo.py
===================================================================
--- a/modules/adblockplus/files/mimeo.py
+++ b/modules/adblockplus/files/mimeo.py
@@ -84,7 +84,7 @@
Handler.output = fh
Handler.format = args.format
Handler.response = args.response
- server_address = ('', args.port)
+ server_address = ('127.0.0.1', args.port)
httpd = HTTPServer(server_address, Handler)
httpd.serve_forever()
finally:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld