I have an ASP.Net
website hosted on my Win8's localhost
, the site seems to be running as expected on the desktop, but now i also want to test the site website on mobile device to check how it renders
Is there anyway i can access the website from my mobile device
My Mobile Device and Desktop Machine are connected to the same Network via Router.
Here are the details of my machine and router.
Can anyone tell me how can i connect my mobile device to localhost website.
To access the server from itself, use http://localhost/ or http://127.0.0.1/ . To access the server from a separate computer on the same network, use http://192.168.X.X where X.X is your server's local IP address. You can find the sever's local IP address (assuming it's Linux) by running hostname -I . 127.0.
If you're using MAMP, key in your IP address (let's say 192.0. 0.63) in your iPhone Safari browser, followed by the port number 8888 (e.g. 192.0. 0.63:8888) and you will be able to see your local site in your iPhone.
The naming in this question is a bit ambiguous: localhost is the de-facto standard (DNS) name for the local loop back address 127.0. 0.1 , which can not be accessed from outside of the (local) host itself.
To view localhost website from mobile device you have to follow thoses steps :
Hope it helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With