Access Internet from BB10 simulator - vmware

I want to access Internet from my BB10 simulator.
I have changed the setting of the virtual machine and changed the Network Connection type from NAT to Bridged.
But after this when I restarted the simulator, it is unable to get the IP address. Thus QNX IDE is unable to discover it.
Please suggest how can I resolve this issue ?

According to an administrator on the blackberry forums you can do the following:
http://supportforums.blackberry.com/t5/Cascades-Development/BB10-Dev-Alpha-Simulator-not-connecting-to-WiFi/td-p/1842579
1) Power down your VM
2) In VMWare select your VM and then click "Edit Virtual Machine Settings"
3) Select Network Adapter
4) Change from NAT to Bridge mode, which will allow the simulator to have direct access your physical network card.
5) Start the simulator again.

In case this is still an issue for you or anyone else; If I understand correctly, when you switch to bridged connection, you do have internet access on your simulator, but the QNX IDE does not find it via device discovery.
I just had the same problem, it can be solved by typing the simulator IP in by hand. Note that you have to use the address that VMWare displays at the very bottom of the content window, not the IP that is set in Development Settings.
I suspect the QNX IDE of only scanning a certain IP range for target devices. Thus, when you switch to bridged mode and your device obtains an arbitrary address in your LAN, it does not (necessarily) fall in that range.

Related

Expo Go can't connect with project

I wanted to test react native app on expo go. I have downloaded expo go app, run expo start in VSC, and once scanned QR code using expo go I get such log.
Looks like there is issue with network connection...
Anybody know how to fix it ?
expo Lan not working in windows
-- show my personal experience same problem faced but I resolve this problem some steps follow as
*** imp ***
run administration cmd.
(optional) use a tunnel.
the last one used for my side -- first go to wifi network but the same network used in phone or window.
Properties.
then
private click, not public.
I had a similar problem when I first started with Expo.
One other thing you can try to see if it's jut a firewall rule blocking you is to go into your firewall and TEMPORARILY turn it off to see. For example, in Windows Defender Firewall, I can go to "Private Networks" and see my WiFi is categorized there and I can then select "Turns Windows Firewall On/Off" and turn it off for Private Networks.
In my case, this IS what the problem was and after I turned off the firewall, Expo loaded the app up in a jiffy.
You do NOT want to leave your firewall off just for working with expo, so the best solution is add a rule to just allow this traffic through.
For me (using Windows), I had to go into Advanced Settings and create a new Inbound Rule for Expo to allow the expo ports (i.e. 19000+) to remain open so I can test/work with my firewall on.
this depends on your network - you may need to use the "tunnel" connection type depending on your wifi network configuration.
see the expo new app tutorial, under the "Is the app not loading on your device?" heading for more information (inlined below at the time of writing for your convenience):
First, make sure that you are on the same wifi network on your computer and your device.
If it still doesn't work, it may be due to the router configuration — this is common for public networks. You can work around this by choosing the "Tunnel" connection type in Expo Dev Tools, then scanning the QR code again.
🐢Using the "Tunnel" connection type will make app reloads considerably slower than on "LAN" or "Local", so it's best to avoid tunnel when possible. You may want to install a simulator/emulator to speed up development if "Tunnel" is required for accessing your machine from another device on your network.
GO with tunnel its slower than LAN AND LOCAL but its work

VMware - How to allow IP/Ports access

I red lot of post about this question without find the good answer. The situation is simple, I have a server (Go) running on Ubuntu 14.04 (VMware Workstation 12.1.0 Pro). It listens on the 8001/8002 ports. From the host of the VM (Windows 10), I can access it from the host (Windows 10) but from my Xamarin Application or the others computers, I can't access this server.
I tried lot of things such as port transfer, edit of the NAT propreties (of the VM) and edit of the vmnetnnat.conf file as well. I tested about bridge connection but I didn't find the way to make it works with this way. etc
I also did transfer port from my internet box to get the access by IP instead of private network address (192.168.XXX.XXX) but it didn't works too.
If anyone can help, thank !
By default your Workstation configures your VM in either NAT or Host-only or event in Custom network configuration what means your host computer (you Windows 10) is the only endpoint which can access this box without any additional configuration in your router.
I would suggest you the easiest way is to use "Bridge" configuration what you mentioned below by getting (perhaps DCHP) IP schema from your parent router (the one gives your Windows 10). Thus your VM will be available across your "Home network", Once done, check your ICMP (pings) from Windows 10 to your VM, make sure you can see it.
Second point is that your 8001/8002 ports might be closed by firewall (iptables) in your ubuntu / Windows 10. You probably want to check your both firewalls as your traffic is being routes by "Virtual router" of Workstation.

using VMWare Player 5, how can I access a web server running in a VM via an external machine?

Win7 PC running Rails in an Ubuntu VM via VMWare Player. I'm working on a site and would like to show it to a friend who's outside my network.
I found this blog post, which got me very close: http://blog.fardad.com/2012/06/vmware-player-and-custom-nat-port-map.html
OK, so I have the VM that is using NAT. As I understand it, that means that the VM will appear to have the same IP address as the parent machine to outside traffic.
I went into NAT settings and added port forwarding:
Host Port: 8200 Type: UDP Virtual IP Address: 192.168.198.184:3000
OK so my understanding is that I should now be able to go to 192.168.1.1xx:8200 (the IP of my 'real' PC) and access the webserver running in the VM. But when I go to that address, I don't get anything. I can ping 192.168.198.184 (the VM) from the PC.
What I want to be able to do is go into my router and set up a port that will eventually forward into the VM.
It seems like I'm missing something very small but I don't know what that is. Help, please.
If anyone is curious how to get the Virtual Network Editor:
go to the vmware-directory and run in elevated cmd.exe-box
rundll32.exe vmnetui.dll VMNetUI_ShowStandalone
http://communities.vmware.com/message/2155960#2155960
Find the vmnetnat.conf file, usually located in
C:\ProgramData\VMware\vmnetnat.conf
or
C:\Users\Application Data\VMware\vmnetnat.conf
Edit vmnetnat, add similar line in the [incomingtcp] section
8200=192.168.198.184:3000
Restart VMware NAT Service.
Try using Bridged network option in vmware player instead of NAT. It replicates your physical network.
You can use an http proxy to do that, by doing that you don't need to expose your entire private network, check out this blog post for more information how to access docker containers from external devices

Cannot connect to virtual machine console

I have a virtual machine created from an linux image (and powered on). I want to be able to access its console in VCenter, but right now I am getting this error:
"A secure connection to the host could not be established"
The console is a black screen with nothing on it and no interaction. This happens for any VM in VSphere. Bizarrely I can telnet in to the console port 902, but there doesn't even appear to be any attempt to connect to the console (checking tcp/ip traffic in Task Manager).
SSHing in is not possible because the reason I wanted console access to begin with was to run commands to set up an IP address for this machine.
Some facts: Opening an external console window does nothing (same error). I'm running Windows XP Professional (out of VirtualBox if it matters). My colleague on the exact same setup (same version of XP, same version of VCenter) can connect to the console just fine.
Does this problem happen when you connect directly to the ESX/ESXi ?
if not you have connection problem beetween esx and vcenter.
you can find here a list of common ports :
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1012382&sliceId=1&docTypeID=DT_KB_1_1&dialogID=312218113&stateId=1%200%20312216906#vCenter 4.x
Turns out that when connecting to vcenter I needed to use https instead of http. Boy howdy, do I feel smart now.

How do you port a virtual machine from VMWare to VirtualBox?

I've been using VMWare for a while and am very happy with it, but I would like to compare it with VirtualBox. Apparently the disk images are compatible, and I have successfully booted my Fedora based VM created by VMWare in VirtualBox... but the network is completely unavailable. How do you port a virtual machine from VMWare to VirtualBox and keep all the capabilities intact?
have you tried going into the options in virtual box and changing the network adapter to the VB one? VB is a bit different in it's virtual adapters, you might have to create a new one attached to the nic and then specify that one as the primary nic.
Are you sure that network is completly unavailable? VirtualBox is known to have a problem with ICMP support so you won't be able to ping any host from the guest OS. I ran into the same problem yesterday and the network was actually working.
If the network is unavailable, you may want to check your VirtualBox configuration and make sure you have a network card configured. If you do, then the next stop would be the OS running in the virtual machine. An unfortunate fact of some operating systems is that they don't always appreciate hardware changes. If the OS is not auto-detecting the change to the network card, you may need to reconfigure it to support the new card.
Another possibility is that you were using a fixed IP address. VirtualBox uses a couple of schemes for networking that are a bit different than VMWare. You may need to change the IP inside the VM to match the expected subnet.
Outside the VM, you need to use either a bridged networking device or configure ports virtual ports through the NAT system if you want to gain access to your Virtual Machine.