Bug 20272 - Add ability to change the port that is used by the Xamarin.iOS Build host server
Summary: Add ability to change the port that is used by the Xamarin.iOS Build host server
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.0
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: vsx
: 20315 ()
Depends on:
Reported: 2014-06-02 13:33 UTC by Jon Goldberger [MSFT]
Modified: 2015-09-28 14:37 UTC (History)
11 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Jon Goldberger [MSFT] 2014-06-02 13:33:43 UTC
In order to avoid conflicts with other services running on the Mac that might be using Port 5000, it would be good to be able to change the port used.
Comment 2 Brendan Zagaeski (Xamarin Team, assistant) 2014-06-19 17:16:26 UTC
*** Bug 20315 has been marked as a duplicate of this bug. ***
Comment 3 Brendan Zagaeski (Xamarin Team, assistant) 2014-06-19 17:53:26 UTC
This is essentially a duplicate enhancement request of:

That bug says that the VS side might be able to automatically handle a different port number for the Mac build host (mtbserver). I tried experimenting with that. I am able to change the Mac side to have a different port without any trouble, and Visual Studio even sees the build host in the selection dialog (via Bonjour), *but* the connection port on the Visual Studio side seems to be hard coded to 5000.

Running the Xamarin.iOS Build Host Diagnosis shows that the process fails at "Connection to Mac Server".

In contrast, connecting to the build server via `telnet`, and sending `HELO` _does_ work. So I think all that's missing is a way to change the port on the Visual Studio side.
Comment 5 René Ruppert 2014-06-30 11:16:09 UTC
I have just tried this and changed the port to 6000 because 5000 is not usable with my config. I can connect with telnet but Visual Studio is unable to connect.
Comment 6 Enzo Heredia 2015-09-28 14:37:09 UTC
Port changes with XMA implementation, we are using ssh default port 22.