title: How can I construct the URL of images stored on a private server?
body: <p>For some context, I am writing an iPhone app that must fetch a large (~500 MB) batch of PNG images on first launch.  During my research, I came across AFNetworking and NSURLSession as possible means of getting an image, but both of these APIs require a URL using, for example,</p>
  
  <pre><code>NSURL* imageURL = [NSURL URLWithString:@"http://www.google.com/images/imageName.png"];
  </code></pre>
  
  <p>My question is, if the images or image data I'm trying to retrieve are not in some public domain like <a href="http://www.google.com" rel="nofollow">http://www.google.com</a>, but rather some private server at a known IP address such as my DigitalOcean droplet, how do I retrieve or construct its URL?</p>
  
  <p>I do know the exact path to the image on the server, just not how to get to the server from iOS, as all the examples I found on stackoverflow assume I am using a standard <code>http://</code> web address.</p>