Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Telent Vs. Socket

843790Dec 29 2009 — edited Dec 29 2009
Hi...

first of all, i would like to thank everybody who read this post, and really appreciate if somebody can help me by ideas or any valuable information for this problem as i tried to do everything but nothing worked and i am unable to find any new solution

The problem is simply i am posting some information to a specific web service, when i use socket the server doesn't reply to me by anything and even i am not getting a connection timeout i just get a read timeout when i specify the socket timeout , and simply I don't get the reply, but when try the same request by posting it using telnet on the same server and port it works just fine and i receive the response.
We have a VPN between the client and the server and i need to know what could be the problem, what can i do and what could be the difference between the telnet and java.net.socket

Given that i have turned off the firewall and am thinking that the packets get dropped somewhere

Thanks in Advanced
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2010
Added on Dec 29 2009
4 comments
915 views