Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353927 - Remote port forwarding increments in-use port but does not restart the forwarding process
Summary: Remote port forwarding increments in-use port but does not restart the forwar...
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Remote Tools (show other bugs)
Version: 5.0.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 5.0.2   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 13:22 EDT by Missing name CLA
Modified: 2011-08-04 17:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.