Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » java.net.ConnectException when running junit tests
icon4.gif  java.net.ConnectException when running junit tests [message #968058] Fri, 02 November 2012 03:04
Charmaine Tahimic is currently offline Charmaine Tahimic
Messages: 1
Registered: November 2012
Junior Member
Hi I'm using Eclipse Juno.. Everytime I try to run a JUnit test, I get the following exception:

Could not connect to: : 53401
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect(RemoteTestRunner.java:570)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:381)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)



Im new in eclipse and i have no idea what to do with this error thanks for your help Smile
Previous Topic:Select remote system type
Next Topic:How and what to measure Eclipse?
Goto Forum:
  


Current Time: Thu Jul 24 23:53:12 EDT 2014

Powered by FUDForum. Page generated in 0.02089 seconds