TCP connection with Python in PyDev/Eclipse and a VM [message #1090955] |
Tue, 20 August 2013 18:12  |
Eclipse User |
|
|
|
I'm having problems with establishing a TCP connection running Eclipse Helios SR2, PyDev 2.7.3 and VMWare player 2.5.5
The scenario is I spin up a VM on my 64bit Windows machine that's waiting for a TCP connection on a port. I load Eclipse/project, and run it..... using WireShark I
can see the start of the 3-way handshake, but after SYN-ACK/ACK, the connection doesn't complete.
If I run my program (unedited) from the command line, the socket<s> connect and data begins to flow.
Of course, if I write a simple python script to make a TCP connection to the VM from Eclipse, it works swimmingly..
This could be a VM problem, or it could be a Windows problem, or it could be a Python problem, or it could be an Eclipse problem. I'm at a loss as to how to narrow it down.
I know: _way_ too many moving parts. Any suggestions on how to track this down would be greatly appreciated.
|
|
|
|
Re: TCP connection with Python in PyDev/Eclipse and a VM [message #1091399 is a reply to message #1090971] |
Wed, 21 August 2013 08:56  |
Eclipse User |
|
|
|
Thanks, Nitin!
I'd go with that (firewall/VM), except for two things:
pcap dumps show proper tcp packets with either Eclipse-launched or command-line- launched connect attempts (src/dst IP/MAC addrs are both the same).
unmmodified (app/VM) application _does_ connect when launched from command line, but not when launched from within Eclipse.
I guess I'll just keep poking around. But thanks for the suggestion!
|
|
|
Powered by
FUDForum. Page generated in 0.11338 seconds