我想连接Android上的统一应用程序与计算机应用程序。我可以在网络上运行它,但通过互联网它总是说机器拒绝连接。我已经停用Windows和防病毒的防火墙,但仍然有连接的服务器和Android客户端问题: No connection could be made because the target machine actively refused it.
下面是代码: 服务器端: TcpList
当我尝试在同一本地网络上运行tcpServer和tcpClient时,它可以工作,但我无法在外部网络上运行它们。操作系统拒绝连接。 Main builtins.ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it 我检查了