Chat Server(Proxy connection)

Hi,I wrote a simple chat server using java. It works fine within the local network. As our institute uses a proxy server i am unable to communicate with a out side machine using it's IP address. Please someone tell me how to modify my server to perform the above task.
[290 byte] By [chamilap] at [2007-9-26 1:27:11]
# 1

well answer is at

http://developer.java.sun.com/developer/qow/archive/85/index.html

in my case it is.. by just adding these lines in init() of my first servlet..

Properties prop = System.getProperties();

prop.put("http.proxyHost","192.168.0.1");

prop.put("http.proxyPort","8080");

shaghab at 2007-6-29 1:11:08 > top of Java-index,Archived Forums,Java Programming...
# 2

alternatively you can do this

java.util.Properties systemSettings = System.getProperties();

systemSettings.put ("proxySet", "true");

systemSettings.put ("proxyHost", "192.168.0.1"); systemSettings.put ("proxyPort", "8080");

System.setProperties (systemSettings);

replace IP and Port as per your proxy settings.

shaghab at 2007-6-29 1:11:08 > top of Java-index,Archived Forums,Java Programming...
# 3
above 2 ans are write but if u r suning applet as a client then there is a trouble. above solutions write system setting at file and applets don't have permission u will have to use signed applet and take a certificate from authority
parul_patidar at 2007-6-29 1:11:08 > top of Java-index,Archived Forums,Java Programming...
# 4
write = right correct
parul_patidar at 2007-6-29 1:11:08 > top of Java-index,Archived Forums,Java Programming...
# 5
Thanks shaghab
chamilap at 2007-6-29 1:11:08 > top of Java-index,Archived Forums,Java Programming...
# 6
Whether you are using socket Connections? Is you chat server is a User developed?
bright25 at 2007-6-29 1:11:08 > top of Java-index,Archived Forums,Java Programming...