Quantcast
Channel: How can I access my localhost from my Android device? - Stack Overflow
Browsing all 48 articles
Browse latest View live
↧

Answer by geeksamu for How can I access my localhost from my Android device?

If you're running on Linux this works for me sudo iptables -F

View Article


Image may be NSFW.
Clik here to view.

Answer by Kyle Pennell for How can I access my localhost from my Android device?

The above didn't work for me. This did for Mac: In terminal: ifconfig Then take the number after inet and put it in your mobile browser:

View Article


Answer by Yamen Ashraf for How can I access my localhost from my Android device?

Ngrok is the best solution. If you're developing PHP then I recommend installing Laravel Valet, It has MacOS and Linux versions, then you may use valet share command. If you're developing any frontend...

View Article

Answer by Naveen T P for How can I access my localhost from my Android device?

Use this in your ubuntu/Macbook to get the ip address of your system. Your mobile and system should be in the same network ip addr | grep inet This will give you an ip address which looks like...

View Article

Answer by dwilda for How can I access my localhost from my Android device?

On linux use ip addr instead of ifconfig since ifconfig is deprecated for many years and not installed by default in recent distros

View Article


Answer by Harry1992 for How can I access my localhost from my Android device?

The easier way to default localhost is to use http://localhost:port. This works in a laptop and Android as well. If it does not work, then in android set the default IP of your phone to 127.0.0.1:port...

View Article

Answer by kdblue for How can I access my localhost from my Android device?

finally done in Ubuntu , i am running nodejs server on localhost:8080 1) open terminal type ifconfig you will get ip something like this : inet addr:192.168.43.17 2) now simply put url address like...

View Article

Answer by realpac for How can I access my localhost from my Android device?

EASIEST way (this worked flawlessly for me) is to locally host your site at 0.0.0.0:<port_no> and to access it using mobile devices, use <local_ipv4_address>:<port_no>/<path> in...

View Article


Answer by weibeld for How can I access my localhost from my Android device?

With the simple solution (just access laptop_ip_addr:port from mobile device, when mobile and laptop are on the same WiFi), I get a ERR_CONNECTION_REFUSED error. That is, my MacBook seems to refuse the...

View Article


Answer by user8246589 for How can I access my localhost from my Android device?

First of all connect your phone and computer to common wifi. Then, open command prompt using run as administrator Give ipconfig command Which shows wireless lan ip Use ip:port of your server to access...

View Article

Answer by best wishes for How can I access my localhost from my Android device?

Although one answer has been accepted but this worked for me: Make sure both your computer and android device are on same network. get your computer's ip address. (in case of mac type ifconfig inside...

View Article

Answer by Maxwell for How can I access my localhost from my Android device?

ngrok lets you put your localhost onto a temporary server and is very simple to set up. I've provided some steps here that can be found in the link: Download the ngrok zip from the link above Open the...

View Article

Answer by Hamid for How can I access my localhost from my Android device?

its very simple , - GOTO command line (Window + R [type cmd]) - type ipconfig , that will show the current IP address of your PC - write taht IP address on your Android Phone's browser with :80 e.g...

View Article


Image may be NSFW.
Clik here to view.

Answer by mikeym for How can I access my localhost from my Android device?

Was running into this problem using several different localhost servers. Finally got my app up and running on the phone in seconds just by using the Python simple server. It only takes a few seconds so...

View Article

Answer by Shuyaib Abdullah for How can I access my localhost from my Android...

Adding a solution for future developers. Copy address of your ip address. right click on your network -> network and sharing-> click on the connection you currently have-> details-> then...

View Article


Answer by Fred for How can I access my localhost from my Android device?

A solution to connect my mobile device to my wamp server based on my laptop: First, wifi is not a router. So to connect my mobile device to my wamp server based on localhost on my laptop, I need a...

View Article

Answer by Stefan Michev for How can I access my localhost from my Android...

What worked for me ( target: debug an windows server app running on localhost:99999 from an client app running on android phone ) phone and pc connected on the same network e.g. 192.168.1.xxx (...

View Article


Answer by Ahmet Arslan for How can I access my localhost from my Android device?

Personally I do not insist to use localhost when using device, there is no easy solution. Just start the activity where you connect to localhost where you can use emulator. Whatever info you have to...

View Article

Answer by Phaneendra Charyulu Kanduri for How can I access my localhost from...

use connectify and xampp or equivalent, and type ip address on mobile URL bar to access

View Article

Answer by Daniel for How can I access my localhost from my Android device?

"Port forwarding on Chrome for Android makes it easy to test your development site on mobile. It works by creating a listening TCP port on your mobile device that maps to a particular TCP port on your...

View Article
Browsing all 48 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>