<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>on my ubuntu server, my firewall block port 8008. Switching the Port to 80 dont help.</p>
<div>How do you explain that the demo server of owncloud on <code><a href="http://demo.owncloud.org/remote.php/caldav/principals/test/">http://demo.owncloud.org/</a> doesnt work?</code></div>
<div>On this Server, my Iphone automatically change the Port to 8008. Why?</div>
<div> </div>
<div>And also a very interesting question: Why its impossible to connect via SSL to <code><a href="http://demo.owncloud.org/remote.php/caldav/principals/test/">http://demo.owncloud.org/</a>?</code></div>
<p>Am 2013-01-10 17:50, schrieb Mark - Syminet:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div> </div>
<div>
<div>On Jan 10, 2013, at 12:19 AM, Christian Pfarr <<a href="mailto:webmaster@itnoobz.org">webmaster@itnoobz.org</a>> wrote:</div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div style="font-family: Verdana,Geneva,sans-serif;">
<p>I found some issues.</p>
<p>trying to connect <code><a href="http://demo.owncloud.org/remote.php/caldav/principals/test/">http://demo.owncloud.org/remote.php/caldav/principals/test</a></code><span><a href="http://demo.owncloud.org/remote.php/caldav/principals/test/">/</a> works, but the port is automatically switched to 8008. This Port is locked on my own Server because of my firewall. Why does Iphone 5 using this Port? </span></p>
</div>
</blockquote>
<div>Mine does not do this - I suspect iphone might try port 8008 first by default, since that is what OS X server uses. If your ubuntu server has port 8008 open for something else (e.g. some web based control panel or something?) … your iphone finds port 8008 open and thinks it is contacting an OS X server. It then gets a garbage response and fails. My server is not listening on port 8008 at all, so it tries 80 and succeeds. </div>
<div> </div>
<div>You can determine if port 8008 is open using nmap at the commandline: </div>
<div> </div>
<div>nmap -p 8008 <a href="http://example.com">example.com</a> </div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div style="font-family: Verdana,Geneva,sans-serif;">
<p><span>On <a href="http://support.apple.com/kb/TS1629?viewlocale=en_GB">http://support.apple.com/kb/TS1629?viewlocale=en_GB</a> if found:</span></p>
<table id="kbtable" style="width: 100%; position: static; z-index: auto;" border="0" cellspacing="0">
<tbody>
<tr valign="top">
<td><strong>8008</strong></td>
<td>TCP</td>
<td>iCal service</td>
<td>-</td>
<td>http-alt</td>
<td>Mac OS X Server v10.5 and later</td>
</tr>
<tr id="even" valign="top"></tr>
</tbody>
</table>
</div>
</blockquote>
<div> </div>
<div>This is for OS X server, which almost no one uses - if you are running ubuntu, then it should not be listening on port 8008 unless it has specifically been configured to listen on that port. </div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div style="font-family: Verdana,Geneva,sans-serif;">
<p>trying to connect <code><a href="http://demo.owncloud.org/remote.php/carddav/principals/test/">http://demo.owncloud.org/remote.php/carddav/principals/test</a></code><span><a href="http://demo.owncloud.org/remote.php/carddav/principals/test/">/</a> doesnt work until now. The Port wont be set automatically and i tried the Ports from <a href="http://support.apple.com/kb/TS1629?viewlocale=en_GB">http://support.apple.com/kb/TS1629?viewlocale=en_GB</a>.</span></p>
<table id="kbtable" style="width: 100%; position: static; z-index: auto;" border="0" cellspacing="0">
<tbody>
<tr valign="top">
<td><strong>8800</strong></td>
<td>TCP</td>
<td>Address Book service</td>
<td>-</td>
<td>sunwebadmin</td>
<td>Mac OS X Server v10.6 and later</td>
</tr>
<tr id="even" valign="top">
<td><strong>8843</strong></td>
<td>TCP</td>
<td>Address Book service (SSL)</td>
<td>-</td>
<td>-</td>
<td>Mac OS X Server v10.6 and later</td>
</tr>
</tbody>
</table>
<p><span>both dont work.</span></p>
<div>Any ideas?</div>
</div>
</blockquote>
<div> </div>
<div>For both services, on my iphone 5 under the "Advanced" settings you can manually set the port. I would try manually setting port 80 first. If that doesn't work, check if port 8008 is open on your server using the command above. If port 8008 is open then shut it down, move whatever is listening on that port to a different one, or locally firewall that port so that your iphone cannot connect to it. Once that is working, switch it to work over SSL (https - port 443) as soon as possible. </div>
<div> </div>
<div>Best - </div>
<div> </div>
<div>-- </div>
<div>Mark </div>
<div> </div>
<div> </div>
</div>
<br /><!-- html ignored --><br />
<pre>_______________________________________________
Owncloud mailing list
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a>
<a href="https://mail.kde.org/mailman/listinfo/owncloud">https://mail.kde.org/mailman/listinfo/owncloud</a>
</pre>
</blockquote>
</body></html>