update daemon

only let local user connect to lbrynet-daemon
This commit is contained in:
Jack 2016-02-27 13:19:26 -05:00
parent 8f04d3418a
commit 33c1a002da
2 changed files with 7 additions and 1 deletions

6
.gitignore vendored
View file

@ -17,3 +17,9 @@ lbrynet.egg-info/PKG-INFO
/build
/dist
*.so
*.pem
*.decTest

View file

@ -1093,7 +1093,7 @@ def main():
daemon = LBRYDaemon()
daemon.setup(args.wallet, args.update)
reactor.listenTCP(7080, server.Site(daemon))
reactor.listenTCP(7080, server.Site(daemon), interface='localhost')
reactor.run()
if __name__ == '__main__':