aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes What does cause Socket not getting response? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "What does cause Socket not getting response?" Watch "What does cause Socket not getting response?" New topic
Author

What does cause Socket not getting response?

Sky Loi
Ranch Hand

Joined: Oct 06, 2008
Posts: 65
I have Socket connection to 3rd party server to handle the request and response. These days, we found Socket read timeout exception when the socket waiting for response. The request I sent out has no problem. What will cause Socket not getting response? I have the following thinking: 3rd party server does not send response at all.

Is there any other case?
1. Firewall block the response somehow?
2. Response message is lost some where?
etc

Thanks for your idea in advance.
luri ron
Ranch Hand

Joined: Dec 11, 2008
Posts: 86
do a traceroute to see if there is any packet drop in your network route.
if not, it is the application related.
Ryan Beckett
Ranch Hand

Joined: Feb 22, 2009
Posts: 192
If you can connect through HTTP, then try using the port 5678 for the Socket.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What does cause Socket not getting response?
 
Similar Threads
How to handle an asynchronized scenario?
redirect within a servlet
Get java.util.List from webservice
How to get the number and response time of HTTP request through Weblogic?
USSD development help