From a003e794baf54cce78b6a5b75ababbee74f33274 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Sat, 16 Feb 2019 17:25:18 -0500 Subject: [PATCH] listen on internal port instead of upnp redirect --- lbrynet/extras/daemon/Components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/extras/daemon/Components.py b/lbrynet/extras/daemon/Components.py index c7c1e3af1..74311eec0 100644 --- a/lbrynet/extras/daemon/Components.py +++ b/lbrynet/extras/daemon/Components.py @@ -477,7 +477,7 @@ class PeerProtocolServerComponent(Component): upnp = self.component_manager.get_component(UPNP_COMPONENT) blob_manager: BlobFileManager = self.component_manager.get_component(BLOB_COMPONENT) wallet: LbryWalletManager = self.component_manager.get_component(WALLET_COMPONENT) - peer_port = upnp.upnp_redirects.get("TCP", self.conf.tcp_port) + peer_port = self.conf.tcp_port address = await wallet.get_unused_address() self.blob_server = BlobServer(asyncio.get_event_loop(), blob_manager, address) self.blob_server.start_server(peer_port, interface=self.conf.network_interface)