I\'m able to access my laptop web server using the Android emulator, I\'m using 10.0.2.2:portno works well.
10.0.2.2:portno
But when I connect my real Android phone, th
Run CMD as administrator
and on CMD screen type ipconfig and the screen will appear with text
as this photo
and you can access your localhost using this ip you have to be connected to same network as your pc connected to