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

Uncaught Error: java.net.SocketTimeoutException: failed to connect to /192.168.0.102 (port 19000) - Doubt on security #904

Open
jareesh opened this issue Feb 27, 2022 · 3 comments

Comments

@jareesh
Copy link

jareesh commented Feb 27, 2022

Uncaught Error: java.net.SocketTimeoutException: failed to connect to /192.168.0.102 (port 19000) from / 192.168.0.100 (port 42950) after 10000ms #876
This issue is already resolved at #876

By changing my "wifi settings from public to private in Windows" it worked for me. But i wanted to know if this is secure? Is there a more secure way of doing this, because my lan has number of devices connected.

@Mahmoud-Anani
Copy link

Follow the steps.

1.) Turn on USB Tethering & USB Debugging Mode in your mobile.
2.) Connect your mobile to your laptop through USB.
3.) Now just change the ip address (run "ipconfig" in cmd) from your backend code

@Tenjou1
Copy link

Tenjou1 commented May 1, 2024

For my part, I went to the "firewall" section of my antivirus and selected my Wi-Fi network as a private network, and it worked.

@arilebedey
Copy link

On my linux machine, it was a firewall problem. I resolved it by telling my firewall to allow connections from my phone's IP to the ports that expo exposes its dev server on (8081 in my case)

sudo ufw allow from 192.168.97.97 to any port 8081

Your phone's IP is in your phone's settings

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

4 participants