• Vagrant

    From Khelair@TINFOIL to All on Sun Nov 1 17:39:10 2015
    Does anybody here have any serious experience creating virtualbox virtual machines in vagrant? I've got a pretty ridiculously simple one, and I can't get port 80 visible from the outside via a host only, bridged, or even forwarded ports set for networking. It's driving me bonkers; if there's anybody out there that may be able to help with this I'd be very grateful to be able to discuss it a bit.
    TIA

    -D/K

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net
  • From Lith@ASIRTA to Khelair on Sun Nov 1 23:04:38 2015
    Does anybody here have any serious experience creating virtualbox virtual machines in vagrant? I've got a pretty ridiculously simple one, and I can't get port 80 visible from the outside via a host only, bridged, or even forwarded ports set for networking. It's driving me bonkers; if there's anybody out there that may be able to help with this I'd be very grateful to be able to discuss it a bit.
    TIA

    -D/K

    Stick to bridged mode and choose your adapter.

    1. go to http://localhost:80 on the virtual box and make sure you can get there.
    2. Check your firewall settings, make sure they are "off"
    3. try to go to http://yourserverip:80 on your network.
    4. If that don't work, do an ipconfig /all on your server and make sure you have an IP address from your router. Hopefully you do.. :)


    Lith,

    ---
    ■ Synchronet ■ asirta.com - Music / DJ Gear / Event Information - asirta.com
  • From Khelair@TINFOIL to Lith on Mon Nov 2 20:00:07 2015
    Re: Re: Vagrant
    By: Lith to Khelair on Sun Nov 01 2015 23:04:38

    Stick to bridged mode and choose your adapter.

    I've branched out and tried a bit more with forwarding, and a little bit less with the host-only networking, but bridged is primarily what I've been trying to get this working with. I'll be sticking with it except in times of extreme desperation as I'm working with this further, I'm sure.

    1. go to http://localhost:80 on the virtual box and make sure you can get there.

    When I have that port forwarded say to 8080, I can connect with telnet. There is never a response, however. I have not been able to connect via it's DHCP leased (so it is communicating somehow) IP except to connect to the SSH port. I can connect to port 80 from the inside of the machine with say lynx, however.

    2. Check your firewall settings, make sure they are "off"

    No firewalls on the host, unless there's something that needs to be handled in the Vagrantfile regarding some firewalling just in the vagrant setting that I'm not aware of.

    3. try to go to http://yourserverip:80 on your network.

    Haven't been able to get this to work in the slightest.

    4. If that don't work, do an ipconfig /all on your server and make sure you have an IP address from your router. Hopefully you do.. :)

    Well I'm running linux hosts and guests at this point, but I can certainly tell that the virtual machine has, through creation and provision, managed to snag the correct IP for its [defined] MAC address from the router. It's absolutely befuddling to me.

    -D/K

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net
  • From Lith@ASIRTA to Khelair on Tue Nov 3 19:24:53 2015


    Well I'm running linux hosts and guests at this point, but I can certainly tell that the virtual machine has, through creation and provision, managed to snag the correct IP for its [defined] MAC address from the router. It's absolutely befuddling to me.

    -D/K

    Can you get to the synchronet default website on the virtual host? Either by using localhost:80 or IP address:80

    Lith,

    ---
    ■ Synchronet ■ asirta.com - Music / DJ Gear / Event Information - asirta.com
  • From Khelair@TINFOIL to Lith on Wed Nov 4 07:36:47 2015
    Re: Re: Vagrant
    By: Lith to Khelair on Tue Nov 03 2015 19:24:53

    Can you get to the synchronet default website on the virtual host? Either by using localhost:80 or IP address:80

    I can get to external websites just fine from inside the VM. Not really sure what you mean about by using localhost:80... I just used lynx with the default port without specifying anything in particular.

    -D/K

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net
  • From Lith@ASIRTA to Khelair on Wed Nov 4 18:51:39 2015
    Re: Re: Vagrant
    By: Khelair to Lith on Wed Nov 04 2015 07:36 am








    what you mean about by using localhost:80... I just used lynx with the defa port without specifying anything in particular.

    -D/K

    For troubleshooting, I would find out what the default port is for lynx. You know you're good in the vm host so that is good. The next step is to see if you can connect to that port on a host in your network.

    I would do an ifconfig -a at the command prompt on your virtual host to make surand to make sure you have an ip/etc in your router. Also, you can look at the MAC address to ensure it matches up with your OracleBox Bridge Mode network settings.

    What version of linux are you using btw? I know the newest debian works fine with VirtualBox with the normal install process. Can't speak for other forms of linux.

    ---
    ■ Synchronet ■ asirta.com - Retro Music / Games / Gear - asirta.com
  • From Khelair@BATTLEST/FREEWAY to All on Sun Nov 1 17:39:00 2015
    Does anybody here have any serious experience creating virtualbox virtual machines in vagrant? I've got a pretty ridiculously simple one, and I can't get port 80 visible from the outside via a host only, bridged, or even forwarded ports set for networking. It's driving me bonkers; if there's anybody out there that may be able to help with this I'd be very grateful to be able to discuss it a bit.
    TIA

    -D/K

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net
  • From Lith@BATTLEST/FREEWAY to Khelair on Sun Nov 1 23:04:00 2015
    Does anybody here have any serious experience creating virtualbox virtual machines in vagrant? I've got a pretty ridiculously simple one, and I can't get port 80 visible from the outside via a host only, bridged, or even forwarded ports set for networking. It's driving me bonkers; if there's anybody out there that may be able to help with this I'd be very grateful to be able to discuss it a bit.
    TIA

    -D/K

    Stick to bridged mode and choose your adapter.

    1. go to http://localhost:80 on the virtual box and make sure you can get there.
    2. Check your firewall settings, make sure they are "off"
    3. try to go to http://yourserverip:80 on your network.
    4. If that don't work, do an ipconfig /all on your server and make sure you have an IP address from your router. Hopefully you do.. :)


    Lith,

    ---
    ■ Synchronet ■ asirta.com - Music / DJ Gear / Event Information - asirta.com
  • From Khelair@BATTLEST/FREEWAY to Lith on Mon Nov 2 20:00:00 2015
    Re: Re: Vagrant
    By: Lith to Khelair on Sun Nov 01 2015 23:04:38

    Stick to bridged mode and choose your adapter.

    I've branched out and tried a bit more with forwarding, and a little bit less with the host-only networking, but bridged is primarily what I've been trying to get this working with. I'll be sticking with it except in times of extreme desperation as I'm working with this further, I'm sure.

    1. go to http://localhost:80 on the virtual box and make sure you can get there.

    When I have that port forwarded say to 8080, I can connect with telnet. There is never a response, however. I have not been able to connect via it's DHCP leased (so it is communicating somehow) IP except to connect to the SSH port. I can connect to port 80 from the inside of the machine with say lynx, however.

    2. Check your firewall settings, make sure they are "off"

    No firewalls on the host, unless there's something that needs to be handled in the Vagrantfile regarding some firewalling just in the vagrant setting that I'm not aware of.

    3. try to go to http://yourserverip:80 on your network.

    Haven't been able to get this to work in the slightest.

    4. If that don't work, do an ipconfig /all on your server and make sure you have an IP address from your router. Hopefully you do.. :)

    Well I'm running linux hosts and guests at this point, but I can certainly tell that the virtual machine has, through creation and provision, managed to snag the correct IP for its [defined] MAC address from the router. It's absolutely befuddling to me.

    -D/K

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net
  • From Lith@BATTLEST/FREEWAY to Khelair on Tue Nov 3 19:24:00 2015


    Well I'm running linux hosts and guests at this point, but I can certainly tell that the virtual machine has, through creation and provision, managed to snag the correct IP for its [defined] MAC address from the router. It's absolutely befuddling to me.

    -D/K

    Can you get to the synchronet default website on the virtual host? Either by using localhost:80 or IP address:80

    Lith,

    ---
    ■ Synchronet ■ asirta.com - Music / DJ Gear / Event Information - asirta.com
  • From Khelair@BATTLEST/FREEWAY to Lith on Wed Nov 4 07:36:00 2015
    Re: Re: Vagrant
    By: Lith to Khelair on Tue Nov 03 2015 19:24:53

    Can you get to the synchronet default website on the virtual host? Either by using localhost:80 or IP address:80

    I can get to external websites just fine from inside the VM. Not really sure what you mean about by using localhost:80... I just used lynx with the default port without specifying anything in particular.

    -D/K

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net
  • From Lith@BATTLEST/FREEWAY to Khelair on Wed Nov 4 18:51:00 2015
    Re: Re: Vagrant
    By: Khelair to Lith on Wed Nov 04 2015 07:36 am








    what you mean about by using localhost:80... I just used lynx with the defa port without specifying anything in particular.

    -D/K

    For troubleshooting, I would find out what the default port is for lynx. You know you're good in the vm host so that is good. The next step is to see if you can connect to that port on a host in your network.

    I would do an ifconfig -a at the command prompt on your virtual host to make surand to make sure you have an ip/etc in your router. Also, you can look at the MAC address to ensure it matches up with your OracleBox Bridge Mode network settings.

    What version of linux are you using btw? I know the newest debian works fine with VirtualBox with the normal install process. Can't speak for other forms of linux.

    ---
    ■ Synchronet ■ asirta.com - Retro Music / Games / Gear - asirta.com