Make Xcode server available outside a local network with a dynamic IP - xcode-server

We have an Xcode Server, working perfectly in our local network.
Now we also want be able to access this Xcode Server when working remotely.
The problem is that the network has a dynamic IP.
What is the best way to make Xcode server available over the web to Macs outside our local network?

I use the free DDNS service from Dynu Systems. They have an API which allow you to update your IP address as it changes.
They provide a updater app that will make the updates for you, or you can check out Dynumite on the Mac App Store. It lives in your menu bar and updates on a schedule you set. (Full disclosure: I wrote it.)
Unfortunately Xcode Server no longer allows you to specify your own SSL certificate, so you will have a notification when accessing your server remotely using the browser, but Xcode should be fine and display your server (with FQDN).

I often work with ngrok.com, I use it to make my localhost accessible form outside my network for web hooks etc.
Ngrok.com
Maybe something for you?
Good Luck!

Related

Apple passes development environment

I am trying to understand how to work with apple passes whilst using localhost. I am using Android Usb debugging so I can visit my website served on localhost from my phone. I have also setup the signing, compressing and installation of the passes.
What I don't understand, is how to debug communications between the installed pass and my server. I don't seem to be receiving requests from the pass once it is installed. Is this because I am using localhost? I inserted localhost as the web service in the pass.json file used to generate the file. My problem is understanding how to debug the problem as I am getting no feedback to work on.
Localhost won't work as the device will view localhost as itself, not as your computer.
To work locally:
connect your phone and computer to the same wireless network
allow http in the developer menu of your iPhone (otherwise the pass will be rejected for not having a https webServiceURL)
use http://computerIp:8080/ as the webServiceURL
serve your web service on your computer on port 8080
For feedback you can view your device logs in Xcode or in the OSX Console application.

Is there another possible way to display a webpage(selfwritten) not on localhost but on any mobile browser other then paying for a webserver?

I am starting to write my thesis and I will work using Blender and Three.js for the project. As it will have a gps functionality it would be better to run it on mobilephones' browsers. I would like to know if there is any other way to do that then through a paid webserver, or without simulation or there isn't.
One option is to use a computer on your local network instead:
Set up a web server on your computer. Popular choices are nginx
or Apache.
Copy your files to the directory used by your web server.
Find out the IP address of that computer.
Enter that IP address in your mobile browser.
Of course those steps are very general, the concrete details depend on your operating system.

IKEV2 VPN Macbook/OSX add static route, Azure Point to Site connectivity

I am unable to access all of the resources in my peered network in Azure when I do a VPN from macbook (VPN type IKEV2) have tried add routes didn't worked.
In windows to get this working was to edit the routes.txt file and add static routes in.
How will I go adding the same in Mac.
System Details
Mac osx - 10.13.2
Looking for
Ability to add/define static routes for my peered virtual network for IKEV2 type VPN in mac.
We found a bug in the P2S VPN gateway that prevent this from working out of the box. The fix is currently being rolled out in Azure. You can wait until next week when we complete the rollout, or open a Service Request from Azure Portal and our support engineer can apply the fix directly to your Azure Gateway. Sorry for the issue you are running into.
Thanks,
Yushun [MSFT]

Set up a simple go server in a webhost

I wanted to set up a simple go server in a webhost. I acquired a domain mydomain.com and hosted it using Bluehost. Now, going through the Go tutorial, I went through this example http://tour.golang.org/#59 and it works fine on my machine. Now, instead, I want to make the HelloWorldServer work when I call mydomain.com:4000 or some other port.
What I did was ssh to my server at bluehost, install go there, then compile the server and run. But then I try to access mydomain.com:4000 and it is not found. I also tried to change "localhost:4000" to just ":4000". any ideas how to make it work ?
Any help or pointers are appreciated. (some more details: it is a shared-hosting account)
This is due to the firewall on your BlueHost server not having ports (including 4000) open on a shared hosting account, Firewall Port Restrictions
If you want to do some simple (and not so simple) web hosting, why don't you look at Google App Engine

IIS 7 and ASP.Net MVC issue

This is a bit complex - so here we go.
I am developing a mobile web application using asp.net mvc and I need to test it locally on my iPhone. So far I have the first iteritaion of the site running on my local dev laptop. I created a virtual dir for the site under IIS 7 on the same machine. I deployed the site to that folder from VS2008. I open a browser and entered "" and the site cam up just fine. I am runnig a home network with locked down WIFI and both the laptip and my iPhone are on the network. So now I want to test with the iPhone but the site won't come up when browsing to "". I have another machine that is also on the network and I get this error message when attempting to browse to the site:
"Website (laptopname) is online but isn't responding to connection attempts"
I have a feeling that this has something to do with IIS setting and \ or application pools but have not been able to find anything relavent goolging. Any help appreciated.
There are some possibilities:
iPhone is not able to resolve your laptop by name. Try using the IP address of your computer in the URL instead.
The firewall on the laptop is blocking inbound connections from other machines. Check your firewall.
The IIS Website is configured with a host header localhost so it won't respond to requests to other hostnames. Check the binding for the Web site in the IIS Manager.
To eliminate possible network issues, you can create an ad hoc WiFi network on your PC and connect to that network to test.
Check that Allow Anonymous Access is set for the site
I suspect you are not alone, as I had this exact problem. I developed a small port opener I called "SharpProxy" that may make your local testing much easier.
Overview and instructions:
http://www.codefromjames.com/wordpress/?p=97
It's open source! Get code here: https://github.com/jocull/SharpProxy

Resources