listen on internal port instead of upnp redirect
This commit is contained in:
parent
051fabc180
commit
a003e794ba
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ class PeerProtocolServerComponent(Component):
|
||||||
upnp = self.component_manager.get_component(UPNP_COMPONENT)
|
upnp = self.component_manager.get_component(UPNP_COMPONENT)
|
||||||
blob_manager: BlobFileManager = self.component_manager.get_component(BLOB_COMPONENT)
|
blob_manager: BlobFileManager = self.component_manager.get_component(BLOB_COMPONENT)
|
||||||
wallet: LbryWalletManager = self.component_manager.get_component(WALLET_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()
|
address = await wallet.get_unused_address()
|
||||||
self.blob_server = BlobServer(asyncio.get_event_loop(), blob_manager, address)
|
self.blob_server = BlobServer(asyncio.get_event_loop(), blob_manager, address)
|
||||||
self.blob_server.start_server(peer_port, interface=self.conf.network_interface)
|
self.blob_server.start_server(peer_port, interface=self.conf.network_interface)
|
||||||
|
|
Loading…
Reference in a new issue