My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: When connection times out, the program should exit
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by jcmun...@gmail.com, Sep 12, 2012
What steps will reproduce the problem?

1. Make sure you don't have any process listening on port 5900 and 5901.
2. Open command prompt and run portfwd like:
java -classpath "portforward.jar;lib\commons-logging.jar" org.enterprisepower.net.portforward.Forwarder 5900 localhost:5901
3. On another command prompt, run:
telnet localhost 5900
4. portfwd shows an exception but stays in a non-working condition.

What is the expected output? What do you see instead?

Portfwd should exit after an error like this.

What version of the product are you using? On what operating system?
I did a fresh svn checkout this morning (2012-09-12) on Windows XP using Java build 1.6.0_35-b10.

Please provide any additional information below.
I am attaching a patch to your code that solves the problem for me.

Thank you for creating this tool. It saved my life :)

portfwd.patch
549 bytes   View   Download

Powered by Google Project Hosting