Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can an applet detect whether its running behind a firewall or not?

applet detect firewall running
0
Posted

How can an applet detect whether its running behind a firewall or not?

0

Location: http://www.jguru.com/faq/view.jsp?EID=438793 Created: Jun 13, 2001 Author: Finlay McWalter (http://www.jguru.com/guru/viewbio.jsp?EID=13911) Question originally posed by Rajesh Ajmera (http://www.jguru.com/guru/viewbio.jsp?EID=47656 There is no sure way, a problem compounded by the fact that there is no single definition of what a “firewall” is. In many places there is no direct IP connectivity through the firewall – in those cases only an HTTP (and maybe other protocols) proxy exists. A lookup of a public machine (e.g. the one from which the applet was downloaded) using InetAddress will probably fail – if this happens then your applet will probably only be able to perform outgoing HTTPConnections.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123