0

I need to access a localhost on easyphp via a physical android device, but I'm not succeeding.

I tried to disable firewalls, both private and public, but nothing.

I tried using the ipv4 of the wireless wifi lan card, but nothing.

I've tried various solutions on stackoverflow, but nothing seems to work.

  • Os pc: windows 8.1
  • port localhost: 8080
  • Nodejs

I'm doing the tests from the mozilla browser of the android device. Can it be a problem?

What can I do?

Paul
  • 3,644
  • 9
  • 47
  • 113

2 Answers2

2

Use a fixed ip of server machine rather then local host. and your mobile device and server machine having same network, like local network. like:

your.ip.address:port/yourpath

Tara
  • 692
  • 5
  • 23
Baqer Shah
  • 101
  • 6
0

try this method -> https://stackoverflow.com/a/56884341/8168420

I use localhost:4880 in your Case just put the "local address" -> localhost:8080 in the port forward and the Device port will be any port of your choice e.g (8888)

kader hussain
  • 67
  • 1
  • 1
  • 4