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

Can not receive tcp packets in hotspot #211

Open
arashetm opened this issue May 1, 2022 · 1 comment
Open

Can not receive tcp packets in hotspot #211

arashetm opened this issue May 1, 2022 · 1 comment

Comments

@arashetm
Copy link

arashetm commented May 1, 2022

Hi,
Thanks for your awesome library.
My problem is that I can't receive TCP packets through the hotspot, but I can get them in a regular network by your sample code.
Are there any restrictions in the hotspot network?

@dannys42
Copy link
Contributor

dannys42 commented May 2, 2022

When you say "hotspot" is it something from your cellular phone company? Some of them do have filters that prevent you from running "servers". You can run a test using the command-line netcat ("nc") utility to confirm. Something like this to run a server:

nc -l 8080

You can vary the port number. I've found some service providers only block specific common ports (like http, smtp, etc).

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