Don't try to open ports in Tor mode
This commit is contained in:
parent
9f701c8f35
commit
ef6f9b9d70
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class FileServer(ConnectionServer):
|
|||
res_ipv6_thread = None
|
||||
|
||||
res_ipv4 = self.portchecker.portCheck(self.port, "ipv4")
|
||||
if not res_ipv4["opened"]:
|
||||
if not res_ipv4["opened"] and config.tor != "always":
|
||||
if self.portchecker.portOpen(self.port):
|
||||
res_ipv4 = self.portchecker.portCheck(self.port, "ipv4")
|
||||
|
||||
|
|
Loading…
Reference in a new issue