Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353927

Summary: Remote port forwarding increments in-use port but does not restart the forwarding process
Product: [Tools] PTP Reporter: Missing name <tomlchen>
Component: Remote ToolsAssignee: Greg Watson <g.watson>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 5.0.1   
Target Milestone: 5.0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Missing name CLA 2011-08-04 13:22:30 EDT
Build Identifier: I20100608-0911

In RemoteToolsConnection.forwardRemotePort(String, int, IProgressMonitor), the call to forwardRemotePort(remotePort, fwdAddress, fwdPort) on line 242 throws an AddressInUseException, if the forward port is already in-use. The catch statement increments the port number by one but does not restart the port forwarding routine.

Reproducible: Always
Comment 1 Greg Watson CLA 2011-08-04 17:03:12 EDT
Fixed in ptp_5_0 and HEAD. Please verify and reopen if the problem persists.