Deployment failed: 1
Error: Cannot connect: Connection to https://192.168.79.131 refused. Please check IP address settings for the target. You may have to reboot the target.
My app deploys fine in Air, but I can't get it to push to the simulator. Whenever it gets to the point where it tries to install the app, I get the above error. I've checked and made sure that the IP adress is correct. I've searched high and low on the internet, and nothing I've found has worked. So, if anyone has any ideas how I can install the app on the simulator please let me know. By the way, it used to work fine with Burrito, if that means anything. Thank you. :)
Have you tried ping 192.168.79.131
And checked there is no firewall rule preventing access to that IP address from your host (i.e. PC)?
Check if your PlayBook is on the same networks as your PC.
if your PlayBook is 192.168.79.131, your PC migh be 192.168.79.xxx, else you wont access it.
What you can try to do is change your network settings of your vmware to use a bridged network instead of NAT.
Shutdown the simulator and then locate the settings option. Under network settings select bridged. Resart the simulator. refer the below link
http://supportforums.blackberry.com/t5/Native-Development/Deployment-setup-wizard-issue/m-p/1388315#M173
Related
Good day to all,
I am trying to create my website locally, and perhaps access the website through my phone from the localhost. Forgive me I am just a beginner.
So I used ipconfig -all to find my IPV4 address and it was e.g
192.168.1.102
And on the ASP.net webapplication I ran, the address was:
https://localhost:44337
Hence, I was trying to access this Web Application of mine created on my PC, to be accessed on my phone. On my phone, I entered the address:
192.168.1.102:44337
I went into my firewall setting to add a new rule for inbound connection to allow all ports to be connected as well. But it still don't work. Both my PC and phone is connected to the same wifi.
Does anyone know the fix? Thank you in advance.
You might have to configure an IIS server. This tool comes default in Windows (professional?), and there's lots of good resources on how to do this, all of which do a better job of explaining the process than I could do.
Essentially, you will need to:
Publish your site (Done through visual studio or cli)
Enable and configure your IIS
Create a new website in the IIS manager and point it towards the output of your web app publish
After opening the neccessary firewall ports, check to see in which IP address your web application is running. I am assuming you are using some sort of HTTP webserver software like IIS(windows) or Apache(Linux). In IIS to do that you must go to your site bindings and where it says "IP Address", select "All Unassigned" (NOT localhost or 127.0.0.1)so that the web application runs in all network adapters and IP addresses.
See full IIS documentation here: https://learn.microsoft.com/en-us/iis/get-started/getting-started-with-iis/getting-started-with-the-iis-manager-in-iis-7-and-iis-8
Follow the guide: https://medium.com/#manujsdeveloper/debug-a-website-local-or-remote-hosted-on-an-android-mobile-device-ff2c43527be1
You will need to set your phone in developer mode and get the OEM USB driver specific for your phone. and get a ADB running on your computer
I suggest supplement your knowledge with with links below, as some things are left out in the above guide and vice versa:
https://developer.android.com/studio/command-line/adb
https://developers.google.com/web/tools/chrome-devtools/remote-debugging
I am trying to build a website using Open Journal Systems (OJS).
XAMMP and OJS are already installed in the PC. Now I need other people (decision makers) to see it in the front end using their device (another PC, mobile phone). How can I configure this? Thank you.
You use the tools:ngrok
https://ngrok.com/
You can proxy your localhost on the console by: ./ngrok http 80
then you will get a external domain your user can access it.
I am developing an UWP Application that should be able to accept incomming TCP connections.
I have given it the following capabilities in the package manifest:
Internet (Client)
Internet (Client/Server)
Private Networks (Client/Server)
I am using the StreamSocketListener from Windows.Networking.Sockets
Connections from other devices are established just fine.
Hovever: I can not connect from my own device over the loopback interface
As per this document from Microsoft, UWP does indeed restrict connections over the loopback interface, but:
Apps installed and run in Visual Studio will automatically be registered as being exempt from the loopback restrictions.
This is the scenario I'm in. And checking the Debug section in the application properties reveals that the Allow local network loopback is checked.
I checked the loopback excemptions on the system via
CheckNetIsolation.exe LoopbackExempt -s
My apps SID does appear in the list.
A comment under this SO answer suggested clearing the list and adding each entry manually. This did not resolve the problem.
Other things I have attempted:
Changing the release version of the App (Did not help)
Uninstalling and redeploying the App (Didi not help)
Setting up a fresh project. (Did not help)
Rebooting the system. (Did not help)
Using my LAN IP Address instead of the Loopback Address (Did not help)
Bashing my head against the wall (Did not help)
So the final question:
How can I enable loopback connections to a UWP app despite doing every step nescessary
Has anybody further experience with this? Is there some hidden trick I need to perform so I can connect from the local device?
If you have more than 682 records CheckNetIsolation.exe LoopbackExempt -s none of your app will be exempted. I don't know why. Try to delete temp apps with PowerShell:
Get-AppxPackage *app.a* | Remove-AppxPackage
This helped me a lot.
I had also come across a similar situation, I had resolved this using Fiddler which comes with a tool WinConfig in its menubar to restrict LoopbackExempt.
I have been using genymotion emulator for a while now. It was working fine, but after installing Visual Studio Community on windows 10 I am getting the following
I have set the ip of the device as show
Under virtualbox>file>preferences>network I have the following
And After selecting the device settings>network I have the following
After installing Visual Studio I have the following Hyper-v adapters under network
I also uninstalled virtual box and genymotion and did a fresh install. After which I download a new device as well.
Also i tried reducing the memory of the virtual device as it was mentioned as a solution for this on the web.
I can't figure out what is the problem.
Kindly point me in the right direction
-Regards
I think, it's because you installed Windows Phone SDK and his emulators.
If you don't need Hyper-V, disable it and all will work again.
A link to disable hyper-v : http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_install/how-do-i-uninstall-hyper-v/7d268911-47cd-4c52-bfe5-ea41e58067ab?auth=1
The responsible thing that is assigning dynamic IPs for you is called DHCP server so you have to enable it to resolve this issue.
Try the following:
Solution1 :-
Open VirtualBox's Preferences and under Network section, check the adapter named "vboxnet0" in "Host-Only Networks", double click on it and make sure to apply the following configuration there.
6- Double click on that name and apple the following configuration
Adapter Tab:
IPv4 Adapter: 192.168.65.1
IPV4 Network Mask: 255.255.255.0
DHCP Server Tab:
Check "Enable Server"
HINT: THIS RESOLVES YOUR PROBLEM, BUT OTHERS IS REQUIRED TO AVOID OTHER PROBLEMS
Server Address: 192.168.65.100
Server Mask: 255.255.255.0
Lower Address Bound: 192.168.65.101
Higher Address Bound: 192.168.65.255
Note: make sure you don't have any other adapter with the same configuration that might cause conflicts . revise all of adapters in that section, "Host-Only Networks" I mean, and delete the same ones there.
you can check out these tutorial also genymotionissue.
Solution2 :-
Reduce the memory below 50% of the total memory. And now it will works.Here i had found one more solution to your problem http://androidcodex.net/unable-to-start-the-virtual-device-genymotion/
I'm using Gcloud VPN beta version with Windows server 2008 R2 VM.
When I try to connect the VPN to our company's local domain through SonicWall, it went successfully when only one IP range was used.
When I add the second IP range to the tunnel, Google Cloud console shows no error, but the VM can only connect to one IP range, and the connection switched from one IP range to the other from time to time with no pattern at all.
Does anyone have an idea about what went wrong?
It seems like the issue could be with the SonicWall.
Have you tried to reproduce the issue without the firewall?
You could take snapshots of the disk and make it the boot disk on new instances and try it out. I haven't seen this issue before but it would be a good way to see where the issue lies.
Let me know what happens.
Thank you