English 中文(简体)
Uncault Error. java.net.SockettimeoutException
原标题:Uncaught Error. java.net.SocketTimeoutException

I get an error when I wanna run my expo app on metro bundler. This is the error:

“Uncatt Error. java.net.SockettimeoutException.在10000ms之后,未能从<>(port:)连接到Am.host/104.197.216.164(port 443)

I tried different ways. upgrading expo-cli, downgrading expo-cli, disabling firewall, disabling Antivirus. didn t solve the problem Can anyone help? thanks in advance

https://i.stack.imgur.com/f8nXV.png”rel=“noreferer”>。

问题回答

我有同样的错误,对我来说,是要确保我的计算机与我安装的同一个Wi-Fi网络连接起来,并确保在像板上的网络环境中,他们都是在私人网络中,利用这2件事对我非常有用。 我希望看到你们的帮助,说稿我不讲英语,我希望你能够理解我。

连接USB,转而使用USB-Tethering和使开发商模式,使用你和海底移动。

直到我改变“http://IPGoesHere:1234”的字句之前,这些事情都没有为我工作。 我的电话wi-fi网络显示,我已经把这段话传给议会。

确切地说,PC和手机位于同一个Wi-Fi网络,我发现,我没有Wi-Fi,并且与Wi-Fi的手机连接,我把Wi-Fi放在手机上,并且工作,是一种选择,是尝试的。

如果你处于WSL2之下,那么你就不得不用本地窗户 n开始跑。 他们拥有不同的知识产权。

解决办法非常简单: Go,Pen > Network & Internet > Wi-Fi > 点击连接Wi-Fi,简单地将公共网络变成私人网络。

I m using a Galaxy S23 Ultra. I ve enabled USB Debugging and USB tethering and for running the my app on the developer mode I ve used npx expo start --localhost and it worked for me. This not related but I also should mention that on Galaxy phone or in general SamSung phones you should also disable "Secure Folder" feature.

I tried all the solutions above, but what worked for me was to update the Expo CLI and Expo Go, by running: npm install -g expo-cli





相关问题
HandleClick not being recognized as a prop

I m trying to get my menu to show when I click the sidebar, but I m getting an error "react-dom.development.js:86 Warning: React does not recognize the handleClick prop on a DOM " import { ...

Is there an equivalent to localStorage in React Native?

I d like to implement the equivalent to the javascript localStorage in my React Native app. But I m unsure how to set. To function how I want it to, I would like the localStorage to be stored every ...

Video Calling in Expo React Native Application

I am building a React Native Application using Expo and I want to integrate a 1:1 video calling functionality in the app. From what I have researched so far on the topic is that I can use SDKs of ...

热门标签