Port fowarding question.
-
yoderman94
- Posts: 2
- Joined: 9. Aug 2010, 18:15
- Primary OS: Mac OS X Leopard
- VBox Version: OSE self-compiled
- Guest OSses: Windows XP
Port fowarding question.
He is my problem: I am running Mac host with a Windows XP guest and I am trying to use the Windows XP as a testing server. I have managed to be able to see the web page from the Mac but I need help getting from another computer to the Mac to the windows guest so that the people in my office can see and test the pages. I am at a loss on what exactly I need to do.
-
yoderman94
- Posts: 2
- Joined: 9. Aug 2010, 18:15
- Primary OS: Mac OS X Leopard
- VBox Version: OSE self-compiled
- Guest OSses: Windows XP
Re: Port fowarding question.
Ok, amazing what getting away from something can do to clear the mind… I finally figured out what I needed to do. I was not implementing the bridge correctly and I was running a slightly older version of virtualbox. I currently have adapter 1 set to Nat and adapter 2 set to bridge on the Ethernet.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Port fowarding question.
Using NAT and Bridged is redundant. You only need one of the two. When you use Bridged, the VM will appear as a separate computer on the network.
If you use NAT, you need to forward ports in order to access services on the Guest. Port forwarding configuration is described in the manual. Accessing the services of the Guest is done by accessing the Host on the port you forwarded. Let's say you run a webserver on the Guest and you forward port 8080 on the Host for it. Then you access the, from the Host, 127.0.0.1:8080. Other machines will connect to the Host machine IP address or it's DNS name, like 192.168.1.100:8080 or machost:8080.
If you use NAT, you need to forward ports in order to access services on the Guest. Port forwarding configuration is described in the manual. Accessing the services of the Guest is done by accessing the Host on the port you forwarded. Let's say you run a webserver on the Guest and you forward port 8080 on the Host for it. Then you access the, from the Host, 127.0.0.1:8080. Other machines will connect to the Host machine IP address or it's DNS name, like 192.168.1.100:8080 or machost:8080.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.