File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Connection timed out: connect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark " Connection timed out: connect" Watch " Connection timed out: connect" New topic
Author Connection timed out: connect

Joy Mowar

Joined: Nov 28, 2007
Posts: 1
I am creating a Scoket on a port (9830).
The program creates the socket successfully.

Now I use an applet (in browser) to connect to this socket.

I am getting the following error:

Connecting to Connection timed out: connect
at Method)
at Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at<init>(Unknown Source)
at<init>(Unknown Source)
at Source)


The application is hosted on a linux environment.

The same code works fine on my PC.

Could anyone let me know what could be the reason for this error.

Thanks & Regards,
Consider Paul's rocket mass heater.
subject: Connection timed out: connect
It's not a secret anymore!