 <p>This is a synchronous request. Try using the below code to this the server synchronously. At least this will make sure everything is running fine. responseData can be written in a file to see the response.</p> <pre><code>NSURL *url = [NSURL URLWithString:@"http://127.0.0.1:8080/Jersey/rest/hello"]; NSURLResponse *urlResponse = nil; NSData *responseData = nil; NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url]; [request setHTTPMethod:@"GET"]; [request addValue:@"text/html; charset=UTF-8" forHTTPHeaderField:@"Content-Type"]; responseData = [NSURLConnection sendSynchronousRequest:request returningResponse:&amp;urlResponse error:&amp;theError]; </code></pre>