-5

I am not able to access my local network server url when my internet is on. Current scenario of my android mobile phone:- Wifi - on (with no internet) Internet - on

I am not able to access my local server url 192.168.42.1:4456

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
  • 2
    It's not a programming issue. The issue is the smartphone has both option and will choose the LTE connection to get on the internet. Disabling your LTE will allow you to access your local server. – CustomX Jul 05 '18 at 12:27
  • I know its hardware specific but some application lke speedify allow you to do that – Rahul Singh Rawat Jul 05 '18 at 12:50
  • I'm voting to close this question as off-topic because it is off-topic. You may be able to get help on https://android.stackexchange.com – Jon Jul 05 '18 at 21:45

1 Answers1

0

You need to do port forwarding from your router. Every router has a different interface but basics are same. Go to port forwarding, in the incoming port select a port number e.g. 10456 and in target use the ip address and port number of the local machine.

Adi.P
  • 370
  • 1
  • 12