Re: Python Socket Issues with VirtualBox

2009-05-27 Thread Luis Zarrabeitia
On Friday 22 May 2009 11:05:42 am Alan Franzoni wrote: > TechieInsights was kind enough to say: [...] > My first guess would be that you didn't specify the interface to bind to, > and the interface order changes once you install virtualbox since it > possibly adds a virtual interface of its own, [

Re: Python Socket Issues with VirtualBox

2009-05-22 Thread Paul Boddie
On 22 Mai, 17:05, Alan Franzoni wrote: > > My first guess would be that you didn't specify the interface to bind to, > and the interface order changes once you install virtualbox since it > possibly adds a virtual interface of its own, but I can't tell unless you > tell something more. If a reque

Re: Python Socket Issues with VirtualBox

2009-05-22 Thread Alan Franzoni
TechieInsights was kind enough to say: [cut] You're giving very few details on your issue, which is most probably not related to python itself. Which operating system? Which virtualbox version? Which kind of connection? Is the port open for listen? Does the code fail at listening or at connecting

Python Socket Issues with VirtualBox

2009-05-22 Thread TechieInsights
I have created a server and client that communicate via a TCP socket connection. Everything runs great on 6 of the 6 boxes. However, when I installed Sun's VirtualBox on one of the PC's I started getting: error: (10061, 'Connection refused') I tried restarting, stopping services, checking out a

Re: Socket issues

2009-01-17 Thread twistedduck9
On 17 Jan, 21:32, Jeff McNeil wrote: > On Jan 17, 4:11 pm, twistedduck9 > wrote: > > > > > My hosting provider (Streamline) have said that there is no firewall > > (it's a dedicated server). Either way the code I'm using is: > > > Listening socket: > > import socket > > mysock = socket.socket(soc

Re: Socket issues

2009-01-17 Thread Jeff McNeil
On Jan 17, 4:11 pm, twistedduck9 wrote: > My hosting provider (Streamline) have said that there is no firewall > (it's a dedicated server). Either way the code I'm using is: > > Listening socket: > import socket > mysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) > mysock.bind (('79.99.43

Re: Socket issues

2009-01-17 Thread twistedduck9
My hosting provider (Streamline) have said that there is no firewall (it's a dedicated server). Either way the code I'm using is: Listening socket: import socket mysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) mysock.bind (('79.99.43.58', 2727)) mysock.listen(1) while True: channel,

Re: Socket issues

2009-01-17 Thread Gary M. Josack
twistedduck9 wrote: Hi all I've been trying to set up sockets on my server (running Apache/2.2.3) using python and I'm confused as to why it doesn't work. I set up a simple listening script which runs without error, and works if a connecting script is run on the same server. However, if I try t

Socket issues

2009-01-17 Thread twistedduck9
Hi all I've been trying to set up sockets on my server (running Apache/2.2.3) using python and I'm confused as to why it doesn't work. I set up a simple listening script which runs without error, and works if a connecting script is run on the same server. However, if I try to connect using Telnet