Skip to content

Commit ec72900

Browse files
committed
Listen on just localhost, not every interface.
1 parent ea62fad commit ec72900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/urwid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def main(args=None, locals_=None, banner=None):
649649

650650
if options.server:
651651
factory = EvalFactory(myrepl)
652-
reactor.listenTCP(options.server, factory)
652+
reactor.listenTCP(options.server, factory, interface='127.0.0.1')
653653

654654
if options.reactor:
655655
# Twisted sets a sigInt handler that stops the reactor unless

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy