connecting Darwin Caldav to thunderbird calendar - thunderbird

I am a newbie to caldav and server setups and need some specific, detailed help from anyone who knows Darwin caldav.
I installed Darwin caldav server onto my iMac w/ Maverick. I have it up and running in the background. After some fiddling I connected iCal and my iphone to it and they are exchanging info regularly.
I am now trying to connect my Thunderbird calendar to it. When creating the connection, Thunderbird calls for Location. No matter what I enter (comp ip with portals, http foramt of same) Thunderbird won't connect.
I was able to connect through iCal, entering the computer's ip address, 192.168.1.19, but in Thunderbird this address doesn't work. I enter it as a web location, http://192.168.1.19, but still no connection.
Would someone explain how Darwin caldav is spoken to, connected to, what Thunderbird is looking for as far as location, and what I should be entering? As I said, I'm a newbie to this some I would appreciate some explanation of why I would enter things as given, not just what to enter.
Also, while installing Darwin caldav I read that once installed I would connect using a web browser. Is there a separate way to connect to D-caldav directly using some kind of built in gui, or was this just a reference to connecting to it as I am already doing, using a calendar and a web connection?
Thanks.

Thunderbird doesnt seem to support collection discovery (calendar-home), so it needs to be pointed directly to a calendar collection.
According to some other guidelines (e.g. here: http://sabre.io/dav/clients/thunderbird/ or http://oxpedia.org/wiki/index.php?title=SetUpThunderbirdLightningCalDAVClient you need to find out for your server the absolute url to an calendar instead pointing like other clients to the root folder of the server.
http(s)://[domain]/[pathtocalendarfolders]/[username]/[calendarname]/
Hope this helps a little bit.
Best Regards, Hilmar

Related

how to access local server "wamp" in mobile(Android or iOS) both

I am using wamp on my laptop as a local server and i want to access it on my android and iOS device in order to test my web application, i have already tried by using ipv4 address but its not working, how to do it? Please describe. Thanks in advance.
You might want to try local tunnelling services like ngrok...their documentation is easy to understand.

How to set up an IDE on a remote server?

Im interested in doing some development from my iPad, and one idea I had would be to code from the safari browser. Does anyone know of a way to set up eclipse on a cloud-based server, so that it can be accessed from a browser?
I believe, you will need the following parts to make it work
The cloud server must be based on one of the supported Eclipse Target Environments.
The cloud server provider must support UI based on some sort of remote desktop - e.g. VNC. Be aware that many cloud providers does not allow UI.
iPad must support the same remote desktop technology. There seem to be many VNC implementations for iPad...
I guess the difficult part is to find a cloud server to use. Though you, as an alternative, could use any PC with an VNC server where you have Internet access...

setting up server for an iphone app

super basic question - I am building an iphone app but will need to set up my computer as a server so my app can send data to my computer. what are the first steps that i need to take?
Thanks!
If you are writing an iPhone app you are probably on a Macbook so you can easily enable Apache in system preferences, click sharing, enable web sharing it will then show you your computers IP address that you can hit over a web browser.
That will set you up with a web server on your machine. Since your emulator and web server will be on the same wifi network and even if you deploy to the device you can have it on your wifi network you should be able to post data to your Mac's web server.
If you are passing data to it you'll need to read about 'web services', probably REST web services. I would then suggest reading about PHP and/or Ruby or Python as your programming language to interpret what you are posting to the web service.
Hope that helps you on your way.
If you are not on a Mac you can't develop an iPhone app anyways ;) so the above strategy should work for you.
3G will only work for you if your server is available outside of the network. Tons of info online on how to set that up but essentially what you would do is configure your router to forward incoming traffic from (for example) port 8080 to the ip address of your server. Assuming you are on a router.
As a side note, if down the line you use Ruby you could check out http://www.heroku.com/how if you want to host your server there

How to setup a ubuntu server that can receive iOS ASIHTTPRequests

I have a ubuntu PC that I don't use for anything and I already know how to submit ASIHTTPRequests from an iPhone.
I would like to setup a very basic system where I can send an image from iPhone to my Ubuntu server and have my server just save that photo to a specific folder on my Ubuntu PC.
I have ZERO server knowledge but from what I have heard, this shouldn't be too terribly difficult to implement. Does anyone know of an easy way to do this? (Easy for someone with no server knowledge?)
Any web server will do. https://help.ubuntu.com/6.06/ubuntu/serverguide/C/httpd.html

iPhone HTTP Server

Can someone give me simple code to help with creating an HTTP server for the iPhone. Something simple with much documentation would be appreciated. Anything you have please share.
There are sample codes from Apple and open source community such as cocoahttpserver TouchHTTPD.
Here's a summary blog
Another open-source HTTP server for iPhone is the lightweight GCDWebServer which is built on top of Grand Central Dispatch. It's only a few source code files and offers a simple and extensible API.
If you're unfamiliar with network programming your best bet is to first read Beej's Guide to Network Programming and then read the HTTP 1.1 spec before you look at source code (as you should have an understanding of the protocol before you start looking at implementations).
A simple Google search turned up cocoahttpserver and iSpit. Otherwise, you could download Apache and look at its source code, but that's not exactly a simple implementation.
It is possible to run a simple file server on iPhone/iOS.
I was able to use this method successfully. Here are the steps to create a simple file server which works on http protocol.
1. Install TestFlight app for iOS
2. Install iSH app from the Apple store or side load it from their website, as this app might not be available in the store depending on your country. I tried it from india in May 2020, and the app was not available in the store. So i did side load it from their website.
3. With iSH app, one has access to linux kernel of the iPhone. I did use a simple http server module from python and executed it on the linux shell.
4. Command to run the python based server on iPhone :
Python -m http.server 8080
5. Access the file server using the local ip that’s assigned to the iPhone in the network you are connected to. That means, if iPhone is connected to a WiFi SSID, depending on whether the router is configured to use static IP address assignment based on MAC address or using DHCP protocol, your iPhone will have an internal IP assigned by the router.
6. Command to access the file server :
http://192.168.1.3:8080 - modify the address depending on IP address of the iPhone and the port that server running on iPhone is configured to use. Paste this in a browser - one should be able to see the files listed in the directory where the server is running in.
Hope this was clear enough, for running a simple http based file server on iPhone using http.server module in python, over linux shell of the underlying kernel, using iSH.