wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes java.net.ConnectException: Connection timed out: connect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "java.net.ConnectException: Connection timed out: connect" Watch "java.net.ConnectException: Connection timed out: connect" New topic
Author

java.net.ConnectException: Connection timed out: connect

Pratik Parekh
Greenhorn

Joined: Jun 09, 2011
Posts: 19

Hello Everyone,
I am working on application running on JBoss server which is located on my machine and accessing application through same machine.The Application keeps communicating to other system over socket based connection for data streaming.
But while server is on, at regular interval of every 5 mins I m getting following Error.
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at jcifs.smb.SmbTransport.ssn139(SmbTransport.java:185)
at jcifs.smb.SmbTransport.negotiate(SmbTransport.java:247)
at jcifs.smb.SmbTransport.doConnect(SmbTransport.java:312)
at jcifs.util.transport.Transport.run(Transport.java:240)
at java.lang.Thread.run(Thread.java:619)

Please help me to resolve this issue...
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

If your System is configured behind a Firewall you will get this Error. Try to Configure Proxy settings in your application.
Pratik Parekh
Greenhorn

Joined: Jun 09, 2011
Posts: 19

Can you guide me in JBoss how we can configure proxy settings as I am not able to find any help for this on net.
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Is your network is Configured with a proxy server?. and Which version of JBoss you are Using?
Pratik Parekh
Greenhorn

Joined: Jun 09, 2011
Posts: 19

No right now my network is not configured with proxy server. I am accessing my internet without any proxy settings.But firewall is enabled on my system.
I am using JBoss-5.1.0.GA.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.net.ConnectException: Connection timed out: connect
 
Similar Threads
Apache Axis
Networked Programs that work across countries
RMI problem with Localhost
Oracle 9iAs setup for Jbuilder
Web services Timeout