2011-09-29, 17:48
unabatedshagie Wrote:Question.
I'm struggling to configure CP so that I can use the iPhone app from out with my local network or access it from any computer on the internet.
I have configured my router to route the port CP uses to the machine CP is installed on. However when I enter the external IP address of my machine with the port number CP uses it doesn't connect to CP.
I'm assuming it's some configuration issue with CP.
I assume this is possible so how do I configure CP to allow this?
Fist, make sure that CP is listening on an actual IP and not just localhost or 0.0.0.0. It needs to be whatever the IP address you forwarded the port to in your router.
Secondly, your external IP address WILL NOT work if you are still connected to your internal network. You actually need to be outside your network for it to work. There are ways around this (My OpenWRT router supports DNS redirection, for example, so I just use a friendly DNS name like whatever.serveftp.net and my router forwards those requests to my server's internal port).