Environment:
Virtualbox is installed under Ubuntu and XP is installed under VirtualBox,
Requirements:
Accessing xp Web services under Ubuntu,
Methods:
To do port mapping in Ubuntu, execute the following command (turn the virtual off before executing) :
VBoxManage setextradata “xp” “VBoxInternal/Devices/pcnet/0/LUN# 0/Config/web/Protocol” TCP
VBoxManage setextradata “xp” “VBoxInternal/Devices/pcnet/0/LUN# 0/Config/web/GuestPort” 80
VBoxManage setextradata “xp” “VBoxInternal/Devices/pcnet/0/LUN# 0/Config/web/HostPort” 8888
The operating system name of the “XP” virtual machine; Pcnet is a network type; The Web can be anything;
Completed: start the xp virtual machine, and then under the ubuntu browser to access the address is: http://www.test.com:8888/, 80 service will show the xp system.
Just to remind you, there’s one question that’s been bothering me for a long time:
Description:
NAT#0: configuration query for “HostPort” int failed (VERR_CFGM_VALUE_NOT_FOUND).
Unknown error creating VM (VERR_CFGM_VALUE_NOT_FOUND).
When using VBoxManage setextradata “xp” “VBoxInternal/Devices/pcnet/0/LUN# 0/Config/web/HostPort”, 8080, the above problems;
Later: 8080 into 8888 port IS OK.
Virtualbox is installed under Ubuntu and XP is installed under VirtualBox,
Requirements:
Accessing xp Web services under Ubuntu,
Methods:
To do port mapping in Ubuntu, execute the following command (turn the virtual off before executing) :
VBoxManage setextradata “xp” “VBoxInternal/Devices/pcnet/0/LUN# 0/Config/web/Protocol” TCP
VBoxManage setextradata “xp” “VBoxInternal/Devices/pcnet/0/LUN# 0/Config/web/GuestPort” 80
VBoxManage setextradata “xp” “VBoxInternal/Devices/pcnet/0/LUN# 0/Config/web/HostPort” 8888
The operating system name of the “XP” virtual machine; Pcnet is a network type; The Web can be anything;
Completed: start the xp virtual machine, and then under the ubuntu browser to access the address is: http://www.test.com:8888/, 80 service will show the xp system.
Just to remind you, there’s one question that’s been bothering me for a long time:
Description:
NAT#0: configuration query for “HostPort” int failed (VERR_CFGM_VALUE_NOT_FOUND).
Unknown error creating VM (VERR_CFGM_VALUE_NOT_FOUND).
When using VBoxManage setextradata “xp” “VBoxInternal/Devices/pcnet/0/LUN# 0/Config/web/HostPort”, 8080, the above problems;
Later: 8080 into 8888 port IS OK.
Read More:
- VirtualBox problem solving set -[drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message
- Explanation of port mapping in dlink
- VirtualBox + CentOS 7 virtual machine setting static IP address of host only NIC
- A solution to the default invalid host only mode of CentOS virtual machine in VirtualBox
- Gt Report Error ssh:connect to host github.com port 22
- Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters:
- invalid connection string format, a valid format is host:ip:port
- Port 4200 is already in use.Use ‘-port’ to specify a different port error Reasons
- Through PID (process identification) to find the port (port) occupied applications, to solve the problem of port occupied
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- Kafka opens JMX port and reports that the error port is occupied
- View port and resolve port conflict in Windows
- The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in u
- Browser prompt: Source mapping error: request failed with status 404 Source URL: http://xxx.js Source mapping URL: jquery.min.map
- Shortcut to exit zoom mode in VirtualBox [off]
- VirtualBox reports an error supr3hardenedwinrespawn what 5 when opening the virtual machine
- VirtualBox for macOS NS_ ERROR_ Failure (0x80004005) problem solving record
- Modify the VDI path of VirtualBox on MacOSX, and transfer the virtual machine
- [solved] genymotion, “unable to load VirtualBox engine”
- virtualbox Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT)