(OK)(OK) using adb with a NAT'ed VM - VirtualBox - NAT Port Forwarding
来源:互联网 发布:ubuntu下安装虚拟机 编辑:程序博客网 时间:2024/05/18 02:41
http://www.android-x86.org/documents/debug-howto
- The steps above work nicely if you have a VM which is set up to use Bridged or Host-Only adapters
- However, if you have a NAT'ed VM you cannot connect to the VM IP from the host
- You will need to set up port forwarding for a host port to be forwarded to the VM port 5555 (which is adb)
VBoxManage modifyvm <VMName> --natpf1 adb,tcp,*,<localport>,*,5555
Example from one machine:
VBoxManage modifyvm froyo --natpf1 adb,tcp,*,5555,*,5555 - Once this is done, you should see the local port (i.e. 5555 in this case) bound on the host via netstat -a
- You can now connect to the VM by adb localhost:5555
0 0
- (OK)(OK) using adb with a NAT'ed VM - VirtualBox - NAT Port Forwarding
- (OK) How to access a NAT guest from host with VirtualBox - NAT Port Forwarding
- (OK)(OK) adb -s emulator-5554 shell - natpf1 - VirtualBox - NAT Port Forwarding
- (OK) android update sdk - virtualbox nat port forwarding adb "device offline"
- Configure port forwarding with NAT
- VirtualBox NAT Port Forwarding Settings(Windows XP)
- (OK)(OK) using adb with KVM (qemu)
- NAT&Port Forwarding&Port Triggering
- (OK) Running Android in a VirtualBox VM
- Forward a TCP port to another IP or port using NAT with Iptables
- NAT技术中的Port Forwarding & Port Triggering
- (OK) Android adb连接VirtualBox方式
- (OK) kvm - change - virbr0 IP range (DHCP, NAT) - virsh
- (OK) virtualbox — VBoxManage internalcommands — with UUID already exists
- ok
- OK!
- ok
- oK
- 达达的mysql数据库优化之路
- hadoop1.2.1伪分布式安装
- Android外部sd卡存储
- 我在香港的公司学到什么
- unity3d学习笔记1——输入控制Input
- (OK)(OK) using adb with a NAT'ed VM - VirtualBox - NAT Port Forwarding
- 【hdu】1520 Anniversary party【树形dp】
- Java基础与案例开发详解の抽象和封装
- USACO Arithmetic Progressions 解题日志
- 2044一只小蜜蜂...(递推)(注意数据范围)
- VS2013创建并使用DLL
- jquery特效-皮肤更换
- Android Studio 基本设置
- RedHat RHEL 6.1安装gcc的方法x86_64