openshift/rhc — pull request #662 by Miciah (2014-11-28 06:44:18+00:00)
Title: Fix rhc port-forward on Windows 7

When rhc tries to bind to a local port for port forwarding and gets EPERM from the operating system, handle it the same as EACCES, and try the next local port.

Windows 7 reportedly returns EPERM when rhc tries to bind to a local port that is in use by a local service.

This commit fixes bug 1168812.