Discussion Locked

Socket Programming Behind A Firewall

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi
well im trying to establish a socket connecion behind a firewall,(TCP sockets)'
for a chay module
i believe i will get host not found exeption
does anyone have any idea how to configure a prog so thatr it can establish sockets behind a firewall ?

5 replies

by okujava

set a property in the System class:

System.setProperty("proxy", "server:port");

the system should use the proxy server to communicate with internet outside the firewall

s.okujava

This discussion is closed to new replies.