Nativescript Vue Developer Tools not working - vue.js

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' })

Related

Port forwarding local server to Expo android emulator

I have a local server running in my laptop. I want to access it via localhost in the android emulator. How can I do this?
You can access host machine from inside the android emulator by going to the address 10.0.2.2 inside the emulator.
For example if you have a web service accessible on localhost:8080 on your local machine, you can access the same by typing
http://10.0.2.2:8080
from inside the emulator. More details about emulator networking you can read in the official documentation

Why can not conntect to the IP provided by my WSL console when i trying to use static-server for testing on mobile

I am using NODE and npm static-server to display my .html files on the local network.
I have no problems when I use Git Bash to deploy static-server. I was able to access from my mobile device using the ip that I got with ipconfig (the option LAN adapter Wi-Fi).
The problem is when I try to do the same process but from my WSL Terminal (Windows Subsystem for Linux).
The IP obtained with the ip address command allows me to access it from my own computer, but I cannot access it from my mobile device.
In the Git Bash environment the command ipconfig shows me several IPs including the Wi-Fi LAN adapter, and using it I was able to connect effectively. But in the WSL environment I only get one IP, and it does not work to access from my mobile through the Wi-Fi network, I just can access to it from the computer.
Does the NODE version have something to do with it? or should i use a different command in the WSL environment to obtain Wi-Fi LAN adapter IP? In this case, which command? Thanks
Commparative image Basch vs WSL and NODE version

testing - not able to create IPv6 network on Mac

For testing purposes I tried to create IPv6 network from my Mac. I followed this tutorial: https://developer.apple.com/library/archive/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html
Except one thing. Instead of Thunderbolt Ethernet I used only Ethernet. WiFi was successfully created and I am able to use it.
However it seems, that the created WiFi is still not IPv6.
I ran this test: http://ipv6-test.com and in results it says Not supported under IPv6 connectivity
What is the problem? Why is my network still IPv4? How can I create proper IPv6 network?
The NAT64 test network that Apple advises you to create does not provide global IPv6 connectivity. It provides only local IPv6 connectivity between your iOS device connected to the WiFi access point and your Mac. The Mac then uses NAT64/DNS64 to send any Internet traffic via IPv4 (which is similar to what some mobile carriers do). This is why an IPv6 testing website shows you that IPv6 is not supported.
The purpose of this setup is to test IPv6 compatibility of your iOS applications on a physical device. You may download an iOS app which will show whether your device is correctly obtaining an IPv6 address from your Mac (because iOS doesn't natively show this info).

Apache - Can't access xampp server through another device

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.

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?