Issue: I need to connect my iPhone or other local device to my server

Solution: You will need a Dedicated server and use either NoMachine or USB Gate when connecting to your server.

Note that if you are on a Managed or Pay-As-You-Go server and need to test the application you are developing you can test it without connecting your local device by using either TestFlight or HockeyApp on your server.