I encountred an issue with motion server for raspberry pi. I use the PiCam with motion-mmal special build by dozencrows.

I can access to my nginx server from internet for my rails app on the RPI. But it's impossible for motion server. I opened the right ports on my router (same as in motion.conf file).

I suspect a problem with hosts names.

i guess nginx acces from internet is mapped by router to localhost (, but motion server seems to use raspberrypi host name (

Did anybody can help me to setup the motion server to be accessible from internet ?

thanks !

  • Do you have port forwarding configured in router? – Fildor Dec 24 '14 at 8:38
  • as @Fildor says make sure the port forwarding is setup on the router. is a non routable address and I doubt your DHCP has assigned The router should have a routing table(live) that you can find the addressable ip address of the Pi make sure all those are correct on the router and it will work. – rob Dec 24 '14 at 16:18
  • Of course every ports are forwarded: ssh access, vnc access work even my rails server. But as i said, it looks that the issue is on the hosts name on the raspberrypi. obviously all services like vncserver, nginx, ssh pass by the local ip (name: localhost), while motion started its server on (name: raspberrypi), which is the cause the problem, and why i can't access – stacker Dec 30 '14 at 14:34
  • the internet -> my router (myddnsname.ddns.net) -> localhost ( for most services but for motion the internet -> my router (myddnsname.ddns.net) -> raspberrypi ( – stacker Dec 30 '14 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.