Re: [Tutor] . http.server -- stuck at binding [windows8]

2013-08-20 Thread Shanmukha Surya Teja
Actually I am using the Simple HTTP Server class to implement it but
instead of redirecting to a html file, I am redirecting it to a media file
:P

use google my friend...if ur still unable to do it, I'll post the code as a
reply to that message


On Mon, Aug 19, 2013 at 6:46 PM, Engineering e...@cleantechsolution.inwrote:

 Since you are behind a router , ipconfig will only show the address of
 your machine which has been given by the router. Ipconfig cannot see beyond
 the  router. 

 If you work within your own LAN , the IP address of your machine is
 sufficient for the socket. 

 If you want to access from outside , there should be port forwarding
 enabled on your router.

 ** **

 One of my personal interest . I have done an HTTP server on Python using
 twisted and autobahn to control my arduino micro controller. But , I want
 to stream media using it for my OpenCV to access it. 

 ** **

 How are you streaming  videos?

 ** **

 ** **

 ** **

 *CLEANTECH SOLUTION*

 *www.cleantechsolution.in*

 * *

 SAVE PAPER , SAVE EARTH

 * *

 ** **




-- 
Surya Teja
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


[Tutor] http.server -- stuck at binding [windows8]

2013-08-19 Thread shanmukhateja
Hello,
   I am developing a simple http media streamer with the help of simple 
http server of http.server and I have a problem in binding the server. I get 
the “the address is not valid in it’s content error” and I KNOW that it can be 
solved by socket.INADDR_ANY but the problem is my router has assigned me 
192.168.1.*** and my ISP has given me a ip like 119.*.*.* which is causing the 
problem.. I find this 119.*.*.* IP nowhere in ipconfig [neither with the /all 
flag]

How can I solve this puzzle???

Kindly help me out___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] http.server -- stuck at binding [windows8]

2013-08-19 Thread Chris Down
Hello,

On 2013-08-18 10:40, shanmukhat...@gmail.com wrote:
 I am developing a simple http media streamer with the help of simple http
 server of http.server and I have a problem in binding the server. I get the
 “the address is not valid in it’s content error” and I KNOW that it can be
 solved by socket.INADDR_ANY but the problem is my router has assigned me
 192.168.1.*** and my ISP has given me a ip like 119.*.*.* which is causing
 the problem.. I find this 119.*.*.* IP nowhere in ipconfig [neither with the
 /all flag]

Your problem is that your computer is behind a NAT provided by your router.
Essentially, to provide access to multiple devices on your network while still
only using a single external IP address, your router uses network(s) that are
private to your LAN and then attempts to map calls from the outside to IPs on
the inside.

The usual way to handle it would be to bind to your local WAN-facing interface
and then port forward on your router, however this is off-topic for this list.
This is fairly facile though, if you google for port forward and your router
model, you should find instructions on how to do so.

Best,

Chris


pgpRTYYd_LzeW.pgp
Description: PGP signature
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


[Tutor] . http.server -- stuck at binding [windows8]

2013-08-19 Thread Engineering
Since you are behind a router , ipconfig will only show the address of your
machine which has been given by the router. Ipconfig cannot see beyond the
router. 

If you work within your own LAN , the IP address of your machine is
sufficient for the socket. 

If you want to access from outside , there should be port forwarding enabled
on your router.

 

One of my personal interest . I have done an HTTP server on Python using
twisted and autobahn to control my arduino micro controller. But , I want to
stream media using it for my OpenCV to access it. 

 

How are you streaming  videos?

 

 

 

CLEANTECH SOLUTION

www.cleantechsolution.in

 

SAVE PAPER , SAVE EARTH

 

 

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor