• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.net.ConnectException: Connection timed out: connect

 
Pratik Parekh
Greenhorn
Posts: 21
Eclipse IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 85
Java Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your System is configured behind a Firewall you will get this Error. Try to Configure Proxy settings in your application.
 
Pratik Parekh
Greenhorn
Posts: 21
Eclipse IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 85
Java Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your network is Configured with a proxy server?. and Which version of JBoss you are Using?
 
Pratik Parekh
Greenhorn
Posts: 21
Eclipse IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic