Nick McConnell
Nick McConnell

Reputation: 861

Xcode Server is unavailable

I am trying to setup CI on an Xcode Server. I have a Mac running OSX Server with Xcode Services up and running (seems to be working). The Mac is hosted in the cloud.

When I try to add the server to Xcode on my local Mac dev machine, it says "Xcode Server is unavailable". What "server address" do I use. I tried the IP address as well as the machinename.companyname.com address.

Note I have enabled the "file sharing" service and this works fine using machinename.companyname.com.

Upvotes: 4

Views: 1188

Answers (3)

Ted
Ted

Reputation: 23746

I configured my router to forward the relevant traffic to the server. This process is called port forwarding.

Opening these ports worked for me

Protocol    Port Range  ----    Comment
TCP         22          ----    ssh 
TCP         80          ----    http    
TCP         443         ----    https   
TCP+UDP     3690        ----    svn 
TCP+UDP     9418        ----    git 
TCP+UDP     20300       ----    xcode1  
TCP+UDP     20343-20345 ----    xcode2

reference: https://support.apple.com/en-ae/HT202944

Upvotes: 1

Nick McConnell
Nick McConnell

Reputation: 861

I think I solved my own problem. After upgrading to Xcode6, need to upgrade to Yosemite too. Don't know why but this seemed to fix the issue.

Upvotes: 0

Brian Miller
Brian Miller

Reputation: 1

I am having the same problem you are. My server is not in the cloud, but it is setup to be accessible outside of my network. I am able to add my server because it is seen by Bonjour. Everything works fine that way. However, I can't add the server by using the IP or the www address.

I've verified that TCP ports 22, 80, and 443 are forwarding correctly. I also have TCP/UDP 3690 and 9418 forwarded correctly.

One thing I wanted to add is that I can add repositories that exist on the server without issue. It is just adding the server that is causing a problem.

I have filed a bug report with Apple and will comment back here as soon as I get a response.

Upvotes: 0

Related Questions