I'm using an Operating System that uses an IP to let others connect to a program. I don't know this IP. On the Operating System, I used a DCHP option to automatically configure the IP. The IP it gave me does not work.
I used the 'curl' command and pinged a website. The command gave me the same IP my host uses, but when I try to connect to the program using the IP and port it doesn't work. In the settings menu I'm using a bridged network.
How do I get my (public) IP?
I'm using VB version 4.3.28 on Windows 8.1.
How do VB's IPs work?
How do VB's IPs work?
Last edited by Daddy on 17. May 2015, 18:14, edited 1 time in total.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: How do VB's IPs work?
Type in Google search… what is my public ip
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: How do VB's IPs work?
Sorry I wasn't clear. This OS doesn't have access to the web. It's not a desktop OS.loukingjr wrote:Type in Google search… what is my public ip
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: How do VB's IPs work?
Is it an OS VirtualBox official supports or just an OS that happens to run on VirtualBox?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: How do VB's IPs work?
It's not an official OS, but I'm 100% sure it works with VB. Also, I used an Ubuntu desktop image and did the IP thing with Google. It's the same IP as my host. Is this normal?
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: How do VB's IPs work?
Since a guest uses the host's connection it's normal. However, I know very little about setting up networks so i can't answer the question why you can't connect. Lots of others here do. I'm sure at some point one of them will be online. If not today, tomorrow. This forum is for VirtualBox and the official guests it supports but someone may answer anyway.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: How do VB's IPs work?
IP in a vm works exactly the same way as it does in a physical machine. If you are using bridged mode, the vm should get an IP from DHCP, just as the host does, if you are on a network with a DHCP server.
Where does the host get its IP from? How does it connect to the Internet?
Where does the host get its IP from? How does it connect to the Internet?
Bill