On 10/14/10, Steven D'Aprano <[email protected]> wrote: > On Fri, 15 Oct 2010 01:30:56 pm Alex Hall wrote: >> Hi all, >> Alright: after a few months letting it rest, I am trying this >> Battleship thing again. I found a p2p library (attached) and have >> tried to implement it (p2p.py). However, I am always getting the same >> error: errno2: no connection could be made because the target machine >> actively refused it. > > None of this is a Python problem. You could be using any language. > >> I suspect my ip addresses are at fault. I am on a public network here >> at school, and I keep getting 130... addresses. However, my friend >> several cities away cannot use 130, since that is local, right? I am >> not sure where to get my ip; that is, where to get an ip that, >> coupled with the hard-coded port number, will let my computer connect >> to his and vice versa. > > http://whatismyipaddress.com/ This, too, reports a 130... address and places me in the central hub for all state university traffic, not my own city. I am not surprised by this inaccuracy. > > Also, be prepared to diagnose firewall issues next. If you're trying to > connect from a computer in one school to a computer in another school, > both firewalls will almost certainly try to stop you. Hmmm... I hate firewalls. :) Still, it failed on my friend's network when he (said he had) disabled all firewalls and other potential problem programs for the network... > > > -- > Steven D'Aprano > _______________________________________________ > Tutor maillist - [email protected] > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor >
-- Have a great day, Alex (msg sent from GMail website) [email protected]; http://www.facebook.com/mehgcap _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
