通过限制性出站防火墙建立TCP连接 [英] Making a TCP connection through a restrictive outbound firewall

查看:591
本文介绍了通过限制性出站防火墙建立TCP连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Java来创建使用TCP进行通信的客户端/服务器应用程序。客户端运行的网络具有防止客户端连接到服务器的出站防火墙。是否有通过此防火墙创建TCP连接的任何方式/解决方法?

I'm using Java to create a client/server application that communicates using TCP. The network that the client is running on has an outbound firewall that prevents the client from connecting to the server. Is there any way/workaround to create a TCP connection through this firewall?

我尝试使用打开的公共端口,例如端口80,443和113,然而,防火墙似乎在连接一旦建立后就可以断开连接(可能通过检测非协议数据包)。

I have tried to use common ports that are open such as port 80, 443, and 113, however the firewall appears to drop the connection once it is made (possibly by detecting non-protocol packets).

另一种方法是让客户端软件作为Java运行applet从外部网站托管,但我不知道出站防火墙是否仍然能够阻止这个连接。

An alternative would be to have the client software run as a Java applet hosted from an external website, however I'm not sure if the outbound firewall would still be able to block this connection.

任何帮助将非常感激。 p>

Any help would be greatly appreciated.

推荐答案

您可以尝试使用http或https进行通信。通过对这些协议进行隧道传输,防火墙可能会让您的流量通过。

You can try to communicate using http or https. By tunneling your protocol over these, it might be possible that the firewall lets your traffic through.

这篇关于通过限制性出站防火墙建立TCP连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆