Apache - Can't access xampp server through another device - apache

I have just set up a wi-fi network from my mobile (Android). I have all my files on my desktop computer (192.168.43.212) and want to access localhost over there from my mobile that used for the wi-fi network.
On my desktop I can access localhost through the normal [http://localhost] or [http://192.168.43.212]. Apache is running on port 80 as usual.
But I can't access it on my mobile using [http://192.168.43.212]. My desktop computer runs in Windows 7 and I've turn off the firewall but still not working.

You can use photon browser on the web-stores, but it doesn't work for normal browsers on mobile devices due to their operating system's security.

Related

Nativescript Vue Developer Tools not working

I am following the tutorial as it is stated here: https://nativescript-vue.org/en/docs/getting-started/vue-devtools/
I have the dev tools and the app up and running but the dev tools says "Waiting for connection..." while the app is already running on my android emulator.
How can I fix this?
Device and development computers must be in the same network.
So you need to check if your emulator has a correct connection.
10.0.2.2 is a special alias to your host loopback interface (i.e., 127.0.0.1 on your development machine)
Communication with the emulated device may be blocked by a firewall program running on your machine.
Communication with the emulated device may be blocked by another
(physical) firewall/router to which your machine is connected.
Check your devices with
tns device and adb devices then ping to their IP or telnet localhost 5554
Your host computers local IP address can be different but just use 10.0.2.2
Vue.use(VueDevtools, { host: '10.0.2.2' })

Access localhost site on mobile devices within the same local network

Right now, I'm running my site on my Mac OS X locally via Apache.
I'm trying to reproduce a bug that only happen on iPhone Safari. I'm trying to avoid keep pushing the code to the staging server, pull, and then, test on my phone.
Is there a way to access my local site via my phone? via some kind of IP address?
make phone connect to the same WIFI as MAC OSX
run the server on the non-localhost address (LAN DHCP allocated), noted as SRV_IP
access the SRV_IP from your phone

Connecting Vagrant VM to LAN

I am running Vagrant and VirtualBox on Ubuntu 14.04. My web app is built with Laravel and uses Homestead.
The application makes a web service call to a machine on my local area network. I can successfully reach the server from my OS web browser.
However, my web application cannot access this web service as it does not appear to be sharing my local network settings.
Based on my Google searches I have tried changing the Network settings in VirtualBox under the "Attached To" setting. Changing Adapter 1 to Bridged Adapter. However, this did not work.
Is there a way to allow my VM to communicate with a web service on my LAN?
aaronfarr,
I have as host Win7_64 with VirtualBox and as VM an openSuse.
With network configured like in the below picture and also inside VM the same proxy settings like on host, I can do same things both on VM and host machine.

Is it possible to connect iPad to xampp server over adhoc WITHOUT internet connection?

I can connect my iPad directly to my Windows 7 laptop using a Win7 adhoc connection and the laptop's internal wifi. That much works. (I tried the alternative of connecting via a wireless router, unsuccessfully.)
Now that the connection is made, I need the iPad to access the XAMPP Apache server that's running on the Win 7 laptop.
I run 'ipconfig' on Windows to find the IP address assigned to the laptop, type this into the iPad's Safari browser address bar, and get "Unable to connect to http://www.192.168.2.5 because you are not connected to the internet."
The 'http://www' is inserted by Safari, I did not type that in.
I also tried including the port that Apache is listening on: 192.168.2.5:80 , with the same result.
I do NOT want to connect to the internet at large (I don't have the two wifi cards necessary to do that), but only to the local Apache server on the Win 7 laptop.
Another answer describes doing this with Bluetooth. I do not have Bluetooth available on the laptop.
The iPad is running iOS 7.1.2.
I've tried the usual tricks on the iPad, resetting Network Settings, turning on/off Airport, etc. Still, Safari insists on inserting 'www' in the address and denying the connection.
How do you connect an Ipad2 to a localhost server running on Windows 7 without having a simultaneous internet connection?

Access a Windows Azure WCF Services on a Windows Phone 7 Device on a local development machine

How do I access a Windows Azure WCF Services on a Windows Phone 7 Device on a local development machine. I've tried my local IP and also switched off my firewall. Nothing helps. Do we have any cool hacks for that?
Ok so you're trying to access the emulator on your development machine with a real Windows Phone device? Officially this isn't supported, since the emulator only accepts local connections. But you can use the port forwarding features available in Windows to bypass this limitation:
netsh interface portproxy add v4tov4 listenport=8081 connectport=81 connectaddress=127.0.0.1
Now, instead of having your WP7 connect to yourip:81 you should configure the device to connect to yourip:8081.