I am using the following code to make a socket call using the proxy.
This is not working as I am getting
(java.net.SocketException) java.net.SocketException: Connection reset
error. I am unable to find what is wrong with this.
Couple of things:
1. I am using the IP address of the target HOST like 143.223.456.2 instead of any host name.
2. I am able to telnet host ip from the proxy server.
3. I am able to send HTTP request using the same proxy to other servers.
Can anybody suggest what all things I can try?