Page 1 of 1

Worldwide Webcam Server

Posted: Sun Mar 10, 2013 1:14 pm
by ibanezmatt13
Hi,

I have recently managed to get a webcam streaming over the Pi's own server using the following tutorial:

http://pingbin.com/2012/12/raspberry-pi ... er-motion/

The problem is, I can only access this server when I am connected to my home broadband. I would like to be able to access this webcam feed from anywhere and I thought that somebody would know how to create a web server that can be accessed anywhere.

Thanks
Matt

Re: Worldwide Webcam Server

Posted: Sun Mar 10, 2013 1:36 pm
by RomanG
Did you forward port on which the server broadcasts the video stream?

Default port is 8081, this needs to be forwarded on your router to your raspberry pi IP address.
Then to access is from the outside of your network, you enter your WAN IP address and the port in your browser, let's say your WAN IP is 173.65.48.122, then you would enter in your browser:
http://173.65.48.122:8081/
and should see your webcam video stream

If you forward also control port, which is by default 8080, then you can control motion configuration remotely as well.

Cheers,
Roman

Re: Worldwide Webcam Server

Posted: Tue Jan 28, 2014 3:58 pm
by helloineedhelp
iv tried that but i can only access it on my home network

Re: Worldwide Webcam Server

Posted: Tue Jan 28, 2014 8:57 pm
by helloineedhelp
Please help me

Re: Worldwide Webcam Server

Posted: Tue Jan 28, 2014 9:08 pm
by RobHenry
helloineedhelp wrote:iv tried that but i can only access it on my home network
You did it wrong.

Please explain in detail what you did and what results you are seeing or no one will be able to help you.

Re: Worldwide Webcam Server

Posted: Tue Jan 28, 2014 9:08 pm
by FLYFISH TECHNOLOGIES
Hi,
helloineedhelp wrote:Please help me
Ok: read carefully the question RomanG has asked...
The question has meaning - you should either check this setting or ask Mr. Google what is port forwarding.


Best wishes, Ivan Zilic.

Re: Worldwide Webcam Server

Posted: Tue Jan 28, 2014 9:10 pm
by TheGreatGizmo
You've double checked that the port is being forwarded directly to the pi in your router settings?

And you're using your WAN IP and not your regular IP (192.168.1.1)?

If those are both yes, and it's working at home, then IDK what to tell you...

Re: Worldwide Webcam Server

Posted: Tue Jan 28, 2014 9:57 pm
by redhawk
How are you streaming your webcam is it via http:\\ i.e. Apache or some other video streaming software??

Have you logged into your router yet and created a port forwarding rule in which: local IP is your Pi network address, and TCP port number is port number of your webcam service.??

Note that some Internet service providers or routers have issues with access to TCP 80 so you must use another number.
Next go to your PC and open the following page: http://nirsoft.net/show_my_ip_address.php this will show you external IP address.
Now try opening your webcam stream again but this time use the external IP address and not the internal one i.e. (192.168.x.x).
If the port forward rule was successful then the stream should play, if not then you have screw up somewhere.

Richard S.