forked from LBRYCommunity/lbry-sdk
update daemon
only let local user connect to lbrynet-daemon
This commit is contained in:
parent
8f04d3418a
commit
33c1a002da
2 changed files with 7 additions and 1 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -17,3 +17,9 @@ lbrynet.egg-info/PKG-INFO
|
|||
/build
|
||||
|
||||
/dist
|
||||
|
||||
*.so
|
||||
|
||||
*.pem
|
||||
|
||||
*.decTest
|
||||
|
|
|
@ -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__':
|
||||
|
|
Loading…
Reference in a new issue