Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run test_2_mac_receive_images.py on Windows 7 , test_2_rpi_send_images.py on Raspberry Pi, server site no response #19

Closed
robertchou66 opened this issue Sep 25, 2019 · 3 comments

Comments

@robertchou66
Copy link

Dear Jeff,

I encountered a problem.
I tried to run test_2_mac_receive_images.py on Windows 7 , test_2_rpi_send_images.py on Raspberry Pi, but server site no response.

on the Raspberry Pi site, ran "lsof |grep 5555" will show a lots of these messages
python3 658 672 python3 pi 14u IPv4 16265 0t0 TCP 192.168.34.143:54214->192.168.34.93:5555 (SYN_SENT)
python3 658 673 python3 pi 14u IPv4 16265 0t0 TCP 192.168.34.143:54214->192.168.34.93:5555 (SYN_SENT)
python3 658 674 python3 pi 14u IPv4 16265 0t0 TCP 192.168.34.143:54214->192.168.34.93:5555 (SYN_SENT)
python3 658 675 python3 pi 14u IPv4 16265 0t0 TCP 192.168.34.143:54214->192.168.34.93:5555 (SYN_SENT)

on Windows 7 site, ran "netstat -an| grep 5555" , just showed only
TCP 0.0.0.0:5555 0.0.0.0:0 LISTENING

Can you tell what is these problem?

@robertchou66
Copy link
Author

I found out that Anaconda will add an InBound block rule for Python with connections from public networks.

That's the root cause.

@jeffbass
Copy link
Owner

I don't use either Windows or Anaconda, so I'm afraid I can't be much help in resolving this. But please continue to add anything you learn if you come up with a solution that works for you. Thanks.

@robertchou66
Copy link
Author

Dear Jeff,
Yes, the solution is to change the inbound block rule to let any connections can go through the port 5555.
After that, everything will be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants