Cant access localhost from another device despite opening port on firewall

in flag

I am trying to access a simple web server on my main machine from my phone. I got my ipv4 IP and opened the port on the firewall, yet I still can't access the port! I just get a timed-out error on my phone. I checked if both devices are on the same network, and they were. Does anybody know any other possible causes of this?

kp flag

Make sure both the mobile device and the laptop are on the same WiFi network. verify your targeted URL has a port number, something like this: 'https://localhost:44301' run this command on the Android Studio terminal, adb reverse tcp:44301 tcp:44301 , replace 44301 with your port number.

This might work.


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.