Deploy ports on Android using React-Native

I am trying to serve files from a React-Native application. I use the react-native-tcp module, but when I create the TCP server, it is not located at nmap output at the ip address of the mobile device. I tried with an external client with nodejs, but I get ECONNREFUSED. At the same time, if I try with the client inside the adapter application and the external server, I get the same result.

I do not know if there is protection or the module is not working properly. I also have android.permission.INTERNET in the manifest.

+6
source share

All Articles