Using DatagramSocket and python socket with devices connected to hotspot

非 Y 不嫁゛ 提交于 2020-05-12 08:29:47

问题


I have an Android app written using the DatagramSocket library, and Python server on my laptop written using the socket library.

They both communicate with each other.

When the Android phone and laptop are connected to my home internet it works fine. Standard out-of-the-box router setup.

However, when I connect the phone and laptop to a mobile hotspot it won't work. I need this functionality for a demonstration in college, as the college wifi doesn't work either.

Any suggestions what's causing the hotspot not to work, and what can be done to fix it?

来源:https://stackoverflow.com/questions/49757383/using-datagramsocket-and-python-socket-with-devices-connected-to-hotspot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!