Hello javaranch, Can u please suggest me how do we pass authentication information when we are connecting to server and when the client is behind FIREWALL using SOCKET. I know how we do it when we use URLConnection as it has setRequestProperty("Proxy-Authorization", auth)and we need to set the following properties System.getProperties().put("proxySet","true"); System.getProperties().put("proxyHost","yourHost"); System.getProperties().put("proxyPort","80"); So please let me know how to do the above mention thing using sockets. Expecting a reply at the earliest. Thanking in advance kiran