lizh06 / winpdb

Automatically exported from code.google.com/p/winpdb
0 stars 0 forks source link

A firewall is blocking the local communication chanel (socket)... Error on Windows 7 #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

I am using Winpdb on Windows 7 Enterprise with Python 2.7.2 installed on it.

I have installed winpdb 1.4.8

I am trying to debug an embedded Python code in my application, but whenever I 
try to attach I get the following error:

“A firewall is blocking the local communication chanel (socket) that is 
required between the debugger and the debugged script. Please make sure that 
the firewall allows that communication.”

On my colleagues' machine which has Windows XP it is working fine.

I tried to disable the firewall completely but it is still not working.

Does anyone have a suggestion what is wrong here?

Thanks!

Original issue reported on code.google.com by gyanr...@gmail.com on 5 Apr 2012 at 3:39

GoogleCodeExporter commented 9 years ago
Same issue on Fedora 16 with Python 2.7.3 and winpdb 1.4.8.  The firewall has 
port 50001 open to all incoming and all outgoing connections are allowed:

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  lo     any     anywhere             anywhere            
   18  2451 ACCEPT     all  --  any    any     anywhere             anywhere             state RELATED,ESTABLISHED
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere             tcp dpt:51000

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 1 packets, 52 bytes)
 pkts bytes target     prot opt in     out     source               destination      

Original comment by Sardathr...@gmail.com on 28 Jun 2012 at 8:17

GoogleCodeExporter commented 9 years ago
Same on Ubuntu 11.10

Original comment by nati...@gmail.com on 21 Jul 2012 at 8:54

GoogleCodeExporter commented 9 years ago
Looks like same issue on Ubuntu 13.10 WinPDB 1.4.8 (installed via apt-get):
> launch simple.py
*** Failed to find script.
*** A firewall is blocking the local communication chanel (socket) that is
*** required between the debugger and the debugged script. Please make sure
*** that the firewall allows that communication.
$ sudo ufw status
...
Status: inactive

Original comment by bironely...@gmail.com on 25 Mar 2014 at 9:12